]> git.ipfire.org Git - thirdparty/curl.git/commit
GnuTLS: Always send client cert
authorjethrogb <github@jbeekman.nl>
Thu, 20 Feb 2020 19:36:25 +0000 (20:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 21 Feb 2020 14:33:36 +0000 (15:33 +0100)
commit41fcb4f609d41b55956865b5927cfc0beba81671
treeb8d82526809f07091a16d89aee860abc9aad832d
parent7224e70f40a45b155d8e5e58f55c8972d07369e7
GnuTLS: Always send client cert

TLS servers may request a certificate from the client. This request
includes a list of 0 or more acceptable issuer DNs. The client may use
this list to determine which certificate to send. GnuTLS's default
behavior is to not send a client certificate if there is no
match. However, OpenSSL's default behavior is to send the configured
certificate. The `GNUTLS_FORCE_CLIENT_CERT` flag mimics OpenSSL
behavior.

Authored-by: jethrogb on github
Fixes #1411
Closes #4958
lib/vtls/gtls.c