diff options
author | Andreas Metzler <ametzler@bebt.de> | 2019-04-18 18:43:30 +0200 |
---|---|---|
committer | Andreas Metzler <ametzler@bebt.de> | 2019-04-18 18:43:30 +0200 |
commit | 3e0140912d2c57182a0b4fe549e4d4b915c5bec3 (patch) | |
tree | f483d1a6ecc5cbd615728043cf4c7834ba8060e6 /lib/cert-cred.c | |
parent | 60c6a71cf1d919c9c90a07b1167fbb887f23d223 (diff) | |
download | gnutls-3e0140912d2c57182a0b4fe549e4d4b915c5bec3.tar.gz |
doc: Add documentation for GNUTLS_CERT_IGNORE
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Diffstat (limited to 'lib/cert-cred.c')
-rw-r--r-- | lib/cert-cred.c | 5 |
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, |