diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 11:12:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-05-14 11:12:56 +0200 |
commit | e5c4b815f9d19a172682fa2b2dec8204381dab6f (patch) | |
tree | 1ecb9a33059165f7fb60245584d8e6a5d5ee946f | |
parent | 89faab9e9e9123f39e8c0c6f8da1f67de423254a (diff) | |
download | gnutls-e5c4b815f9d19a172682fa2b2dec8204381dab6f.tar.gz |
doc: mention the TLS 1.2 restriction of sign algo functions
-rw-r--r-- | lib/ext/signature.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ext/signature.c b/lib/ext/signature.c index 3135384bcb..bb39acb316 100644 --- a/lib/ext/signature.c +++ b/lib/ext/signature.c @@ -448,7 +448,8 @@ gnutls_sign_algorithm_get_requested(gnutls_session_t session, * @session: is a #gnutls_session_t type. * * Returns the signature algorithm that is (or will be) used in this - * session by the server to sign data. + * session by the server to sign data. This function should be + * used only with TLS 1.2 or later. * * Returns: The sign algorithm or %GNUTLS_SIGN_UNKNOWN. * @@ -464,7 +465,8 @@ int gnutls_sign_algorithm_get(gnutls_session_t session) * @session: is a #gnutls_session_t type. * * Returns the signature algorithm that is (or will be) used in this - * session by the client to sign data. + * session by the client to sign data. This function should be + * used only with TLS 1.2 or later. * * Returns: The sign algorithm or %GNUTLS_SIGN_UNKNOWN. * |