summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2019-04-18 18:43:30 +0200
committerAndreas Metzler <ametzler@bebt.de>2019-04-18 18:43:30 +0200
commit3e0140912d2c57182a0b4fe549e4d4b915c5bec3 (patch)
treef483d1a6ecc5cbd615728043cf4c7834ba8060e6
parent60c6a71cf1d919c9c90a07b1167fbb887f23d223 (diff)
downloadgnutls-3e0140912d2c57182a0b4fe549e4d4b915c5bec3.tar.gz
doc: Add documentation for GNUTLS_CERT_IGNORE
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
-rw-r--r--lib/cert-cred.c5
1 files 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,