diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-02-13 04:56:00 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-02-13 04:56:00 +0000 |
commit | 1644c3b897cfbb122fb995034ea2b96684040f29 (patch) | |
tree | 2571bb69f2a4984d0456ac125f252f286591be7e /url.c | |
parent | Update ChangeLog (diff) | |
download | w3m-1644c3b897cfbb122fb995034ea2b96684040f29.tar.gz w3m-1644c3b897cfbb122fb995034ea2b96684040f29.zip |
Use ssl_ca_file and ssl_ca_path only when ssl_verify_server
Diffstat (limited to '')
-rw-r--r-- | url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -446,6 +446,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert) } if ((!ssl_ca_file || *ssl_ca_file == '\0') && (!ssl_ca_path || *ssl_ca_path == '\0') + || !ssl_verify_server || !SSL_CTX_load_verify_locations(ssl_ctx, ssl_ca_file, ssl_ca_path)) #endif /* defined(USE_SSL_VERIFY) */ SSL_CTX_set_default_verify_paths(ssl_ctx); |