summaryrefslogtreecommitdiff
path: root/lib/cert-session.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-22 08:48:03 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-22 08:55:37 +0200
commit356674a7ceaa4c4ecb3f478d0d3b3cc682a1540c (patch)
treeadec29efbc92e162b19e8725ea69b7011ec3692f /lib/cert-session.c
parent8152376033d28c65c43006d3536e124a88441464 (diff)
downloadgnutls-356674a7ceaa4c4ecb3f478d0d3b3cc682a1540c.tar.gz
dh params: document DH param setting functions as deprecated
They are no longer useful after the RFC7919 DH parameter negotiation. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/cert-session.c')
-rw-r--r--lib/cert-session.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cert-session.c b/lib/cert-session.c
index 51b249f78f..1ba55fa448 100644
--- a/lib/cert-session.c
+++ b/lib/cert-session.c
@@ -130,6 +130,11 @@ int gnutls_certificate_client_get_request_status(gnutls_session_t session)
* This function will set a callback in order for the server to get
* the Diffie-Hellman or RSA parameters for certificate
* authentication. The callback should return %GNUTLS_E_SUCCESS (0) on success.
+ *
+ * Deprecated: This function is unnecessary and discouraged on GnuTLS 3.6.0
+ * or later. Since 3.6.0, DH parameters are negotiated
+ * following RFC7919.
+ *
**/
void
gnutls_certificate_set_params_function(gnutls_certificate_credentials_t