curl/lib
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
..
vtls gnutls: Support CURLOPT_KEYPASSWD 2015-09-22 17:30:33 +02:00
.gitignore gitignore: ignore more generated VC Makefiles 2015-09-03 23:35:41 +02:00
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c
asyn.h
base64.c
checksrc.pl checksrc: detect fopen() for text without the FOPEN_* macros 2015-06-02 08:28:10 +02:00
checksrc.whitelist checksrc: detect fopen() for text without the FOPEN_* macros 2015-06-02 08:28:10 +02:00
CMakeLists.txt
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h
config-riscos.h
config-symbian.h
config-tpf.h
config-vxworks.h
config-win32.h win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default 2015-08-30 22:06:10 +01:00
config-win32ce.h
conncache.c conncache: fixed memory leak on OOM (torture tests) 2015-05-24 11:19:07 +02:00
conncache.h
connect.c win32: Fix compilation warnings from commit 40c921f8b8 2015-08-01 22:55:01 +01:00
connect.h
content_encoding.c
content_encoding.h
cookie.c cookie: Fix bug in export if any-domain cookie is present 2015-06-18 19:37:20 -04:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake cmake: added Windows SSL support 2015-08-25 22:42:28 +02:00
curl_des.c des: Fixed compilation warning from commit 613e5022fe 2015-08-30 21:45:30 +01:00
curl_des.h des: Fixed compilation warning from commit 613e5022fe 2015-08-30 21:45:30 +01:00
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c curl_gssapi: remove 'const' to fix compiler warnings 2015-08-02 00:24:38 +02:00
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c NTLM: recent boringssl brought DES_set_odd_parity back 2015-08-22 23:59:18 +02:00
curl_ntlm_core.h
curl_ntlm_msgs.c
curl_ntlm_msgs.h
curl_ntlm_wb.c ntlm_wb: Fix theoretical memory leak 2015-07-16 14:22:45 -04:00
curl_ntlm_wb.h
curl_ntlm.c ntlm: mark deliberate switch case fall-through 2015-08-24 11:29:22 +02:00
curl_ntlm.h
curl_printf.h
curl_rtmp.c
curl_rtmp.h
curl_sasl_gssapi.c sasl: Updated SPN variables and comments for consistency 2015-08-31 12:43:58 +01:00
curl_sasl_sspi.c sasl: Updated SPN variables and comments for consistency 2015-08-31 12:43:58 +01:00
curl_sasl.c sasl: Updated SPN variables and comments for consistency 2015-08-31 12:43:58 +01:00
curl_sasl.h sasl: Only define Curl_sasl_digest_get_pair() when CRYPTO_AUTH enabled 2015-08-31 12:44:01 +01:00
curl_sec.h
curl_setup_once.h
curl_setup.h curl_sspi: fix possibly undefined CRYPT_E_REVOKED 2015-09-10 02:17:33 -04:00
curl_sspi.c sspi: Fix typo from left over from old code which referenced NTLM 2015-08-01 23:09:03 +01:00
curl_sspi.h curl_sspi: fix possibly undefined CRYPT_E_REVOKED 2015-09-10 02:17:33 -04:00
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
dotdot.c
dotdot.h
easy.c
easyif.h
escape.c
escape.h
file.c read_callback: move to SessionHandle from connectdata 2015-05-20 23:06:45 +02:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c checksrc: detect fopen() for text without the FOPEN_* macros 2015-06-02 08:28:10 +02:00
formdata.h
ftp.c FTP: do_more: add check for wait_data_conn in upload case 2015-09-08 09:29:03 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c CURLINFO_TLS_SESSION: always return backend info 2015-09-22 17:21:37 +02:00
getinfo.h
gopher.c
gopher.h
hash.c hostip: fix unintended destruction of hash table 2015-05-18 11:15:43 +02:00
hash.h hostip: fix unintended destruction of hash table 2015-05-18 11:15:43 +02:00
hmac.c
hostasyn.c
hostcheck.c
hostcheck.h
hostip4.c
hostip6.c
hostip.c hostip: fix unintended destruction of hash table 2015-05-18 11:15:43 +02:00
hostip.h
hostsyn.c
http2.c http2: removed unused function 2015-09-13 16:33:51 +02:00
http2.h http2: setup the new pushed stream properly 2015-06-24 23:44:42 +02:00
http_chunks.c HTTP: ignore "Content-Encoding: compress" 2015-07-25 00:46:01 +02:00
http_chunks.h
http_digest.c
http_digest.h
http_negotiate_sspi.c
http_negotiate.c
http_negotiate.h
http_proxy.c FTP: do the HTTP CONNECT for data connection blocking 2015-06-17 14:00:12 +02:00
http_proxy.h FTP: fixed compiling with --disable-proxy, broken in b88f980a 2015-06-18 23:20:10 +02:00
http.c rtsp: stop reading empty DESCRIBE responses 2015-08-20 23:07:03 +02:00
http.h http2: discard frames with no SessionHandle 2015-08-11 08:16:33 +02:00
idn_win32.c
if2ip.c
if2ip.h
imap.c
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c inet_pton.c: Fix MSVC run-time check failure (2) 2015-09-03 11:37:50 +02:00
inet_pton.h
krb5.c
ldap.c
libcurl.def
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am libcurl: VERSIONINFO update 2015-07-21 14:01:19 +02:00
makefile.amiga
Makefile.b32 makefiles: Added our standard copyright header 2015-08-30 14:51:13 +01:00
makefile.dj makefiles: Added our standard copyright header 2015-08-30 14:51:13 +01:00
Makefile.inc
Makefile.m32 makefiles: Added our standard copyright header 2015-08-30 14:51:13 +01:00
Makefile.netware makefiles: Added our standard copyright header 2015-08-30 14:51:13 +01:00
Makefile.vc6
Makefile.vxworks
Makefile.Watcom makefiles: Added our standard copyright header 2015-08-30 14:51:13 +01:00
md4.c
md5.c
memdebug.c curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT 2015-06-01 03:21:23 -04:00
memdebug.h
mk-ca-bundle.pl
mk-ca-bundle.vbs
mprintf.c
multi.c http2: init the pushed transfer properly 2015-06-24 23:44:42 +02:00
multihandle.h http2: initial implementation of the push callback 2015-06-24 23:44:42 +02:00
multiif.h http2: setup the new pushed stream properly 2015-06-24 23:44:42 +02:00
netrc.c curl_setup: Add macros for FOPEN_READTEXT, FOPEN_WRITETEXT 2015-06-01 03:21:23 -04:00
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
objnames-test08.sh
objnames-test10.sh
objnames.inc
openldap.c openldap: only part of LDAP query results received 2015-09-19 23:06:03 +02:00
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pipeline.c pipeline: switch some code over to functions 2015-05-18 09:33:47 +02:00
pipeline.h pipeline: switch some code over to functions 2015-05-18 09:33:47 +02:00
pop3.c
pop3.h
progress.c
progress.h
rawstr.c
rawstr.h
rtsp.c rtsp: support basic/digest authentication 2015-08-20 23:02:28 +02:00
rtsp.h
security.c security:choose_mech fix DEAD CODE warning 2015-06-15 09:02:46 +02:00
select.c
select.h
sendf.c
sendf.h
setup-os400.h
setup-vms.h openssl: VMS support for SHA256 2015-07-14 01:25:36 -04:00
share.c share_init: fix OOM crash 2015-05-22 16:26:14 +02:00
share.h
sigpipe.h
slist.c
slist.h
smb.c SMB: rangecheck values read off incoming packet 2015-06-17 07:43:13 +02:00
smb.h
smtp.c
smtp.h
sockaddr.h
socks_gssapi.c
socks_sspi.c
socks.c
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
ssh.c SFTP: fix range request off-by-one in size check 2015-08-10 09:18:19 +02:00
ssh.h
strdup.c
strdup.h
strequal.c
strequal.h
strerror.c curl_sspi: fix possibly undefined CRYPT_E_REVOKED 2015-09-10 02:17:33 -04:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
telnet.c telnet: Fix read-callback change for Windows builds 2015-05-21 23:26:32 -04:00
telnet.h
tftp.c
tftp.h
timeval.c
timeval.h
transfer.c HTTP: ignore "Content-Encoding: compress" 2015-07-25 00:46:01 +02:00
transfer.h read_callback: move to SessionHandle from connectdata 2015-05-20 23:06:45 +02:00
url.c NTLM: Reset auth-done when using a fresh connection 2015-09-19 23:21:05 +02:00
url.h http2: init the pushed transfer properly 2015-06-24 23:44:42 +02:00
urldata.h CURLOPT_DEFAULT_PROTOCOL: added 2015-08-22 21:57:14 -04:00
version.c
warnless.c
warnless.h
wildcard.c
wildcard.h
x509asn1.c
x509asn1.h