mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Allow combined cert/key once again.
This commit is contained in:
parent
b2ad06272d
commit
3c086872e9
@ -1,3 +1,9 @@
|
||||
2008-04-22 Jim Paris <jim@jtan.com>
|
||||
|
||||
* openssl.c (ssl_init): Enable combined certificate/key in
|
||||
single file (apparent regression from ~1.9). Resolves issue
|
||||
#22767.
|
||||
|
||||
2008-04-22 Steven Schubiger <schubiger@gmail.com>
|
||||
|
||||
* http.c (print_response_line): Changed to make responses always
|
||||
|
@ -210,6 +210,13 @@ ssl_init ()
|
||||
than examining the error stack after a failed SSL_connect. */
|
||||
SSL_CTX_set_verify (ssl_ctx, SSL_VERIFY_NONE, NULL);
|
||||
|
||||
/* Use the private key from the cert file unless otherwise specified. */
|
||||
if (opt.cert_file && !opt.private_key)
|
||||
{
|
||||
opt.private_key = opt.cert_file;
|
||||
opt.private_key_type = opt.cert_type;
|
||||
}
|
||||
|
||||
if (opt.cert_file)
|
||||
if (SSL_CTX_use_certificate_file (ssl_ctx, opt.cert_file,
|
||||
key_type_to_ssl_type (opt.cert_type))
|
||||
|
Loading…
Reference in New Issue
Block a user