From 3e0140912d2c57182a0b4fe549e4d4b915c5bec3 Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Thu, 18 Apr 2019 18:43:30 +0200 Subject: doc: Add documentation for GNUTLS_CERT_IGNORE Signed-off-by: Andreas Metzler --- lib/cert-cred.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/cert-cred.c b/lib/cert-cred.c index e2cc798cbc..d4b48f2069 100644 --- a/lib/cert-cred.c +++ b/lib/cert-cred.c @@ -542,13 +542,14 @@ alloc_and_load_pkcs11_key(gnutls_pkcs11_privkey_t key, int deinit) /** * gnutls_certificate_server_set_request: * @session: is a #gnutls_session_t type. - * @req: is one of GNUTLS_CERT_REQUEST, GNUTLS_CERT_REQUIRE + * @req: is one of GNUTLS_CERT_REQUEST, GNUTLS_CERT_REQUIRE, GNUTLS_CERT_IGNORE * * This function specifies if we (in case of a server) are going to * send a certificate request message to the client. If @req is * GNUTLS_CERT_REQUIRE then the server will return the %GNUTLS_E_NO_CERTIFICATE_FOUND * error if the peer does not provide a certificate. If you do not call this - * function then the client will not be asked to send a certificate. + * function then the client will not be asked to send a certificate. Invoking + * the function with @req GNUTLS_CERT_IGNORE has the same effect. **/ void gnutls_certificate_server_set_request(gnutls_session_t session, -- cgit v1.2.1