From 47465517de2d82148e2a63be4dbddf2bda96c49c Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Sat, 27 Feb 2021 09:28:09 +0900 Subject: Revert "Fix OpenSSL default always overrides ssl_ca_file and ssl_ca_path" This reverts commit a1b9d1b4b5a96c6fe8a92ca67e03c481eb659bd2. --- url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url.c b/url.c index 9ec05aa..5cb171d 100644 --- a/url.c +++ b/url.c @@ -400,7 +400,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 */ -- cgit v1.2.3