curl/lib/vtls
Mike Crowe 6b56901b56 gnutls: Support CURLOPT_KEYPASSWD
The gnutls vtls back-end was previously ignoring any password set via
CURLOPT_KEYPASSWD. Presumably this was because
gnutls_certificate_set_x509_key_file did not support encrypted keys.

gnutls now has a gnutls_certificate_set_x509_key_file2 function that
does support encrypted keys. Let's determine at compile time whether the
available gnutls supports this new function. If it does then use it to
pass the password. If it does not then emit a helpful diagnostic if a
password is set. This is preferable to the previous behaviour of just
failing to read the certificate without giving a reason in that case.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
2015-09-22 17:30:33 +02:00
..
axtls.c axtls: add timeout within Curl_axtls_connect 2015-03-31 02:04:22 +02:00
axtls.h vtls: Removed unimplemented overrides of curlssl_close_all() 2015-01-17 16:41:03 +00:00
cyassl.c ssl: add server cert's "sha256//" hash to verbose 2015-09-19 23:17:39 +02:00
cyassl.h cyassl: fixed mismatched sha256sum function prototype 2015-07-02 08:29:22 +02:00
darwinssl.c darwinsssl: add support for TLS False Start 2015-03-21 12:22:56 -05:00
darwinssl.h darwinsssl: add support for TLS False Start 2015-03-21 12:22:56 -05:00
gskit.c ssl: add server cert's "sha256//" hash to verbose 2015-09-19 23:17:39 +02:00
gskit.h gskit.h: Code policing of function pointer arguments 2015-01-17 17:02:01 +00:00
gtls.c gnutls: Support CURLOPT_KEYPASSWD 2015-09-22 17:30:33 +02:00
gtls.h SSL: Pinned public key hash support 2015-07-01 19:43:47 +02:00
nss.c ssl: add server cert's "sha256//" hash to verbose 2015-09-19 23:17:39 +02:00
nssg.h SSL: Pinned public key hash support 2015-07-01 19:43:47 +02:00
openssl.c ssl: add server cert's "sha256//" hash to verbose 2015-09-19 23:17:39 +02:00
openssl.h openssl: build with < 0.9.8 2015-09-17 08:54:04 +02:00
polarssl_threadlock.c vtls: use curl_printf.h all over 2015-03-03 23:17:43 +01:00
polarssl_threadlock.h
polarssl.c polarssl: called mbedTLS in 1.3.10 and later 2015-03-25 09:19:57 +01:00
polarssl.h vtls: Removed unimplemented overrides of curlssl_close_all() 2015-01-17 16:41:03 +00:00
schannel.c schannel: Fix compilation warning from commit 7a8e861a56 2015-08-01 22:54:57 +01:00
schannel.h schannel: schannel_recv overhaul 2015-06-17 00:17:03 -04:00
vtls.c vtls: Change designator name for server's pubkey hash 2015-09-19 22:40:40 -04:00
vtls.h ssl: add server cert's "sha256//" hash to verbose 2015-09-19 23:17:39 +02:00