aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-02-12 14:06:23 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-02-12 14:06:23 +0000
commitf0d17fecc44629b4c2d213e77af2e90160d8cb76 (patch)
tree19f30415c9c18226e86a00df32b26a2bcd61a4c6 /url.c
parentUpdate ChangeLog (diff)
downloadw3m-f0d17fecc44629b4c2d213e77af2e90160d8cb76.tar.gz
w3m-f0d17fecc44629b4c2d213e77af2e90160d8cb76.zip
Fix OpenSSL default always overrides ssl_ca_file and ssl_ca_path
Diffstat (limited to '')
-rw-r--r--url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/url.c b/url.c
index 7a31042..e6cb437 100644
--- a/url.c
+++ b/url.c
@@ -445,7 +445,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
}
}
if ((!ssl_ca_file && !ssl_ca_path)
- || SSL_CTX_load_verify_locations(ssl_ctx, ssl_ca_file, ssl_ca_path))
+ || !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);
#endif /* SSLEAY_VERSION_NUMBER >= 0x0800 */