diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-02-22 13:45:51 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-02-22 14:42:10 +0000 |
commit | b6d29622b8c793fb28f1e05b04f18470918a3257 (patch) | |
tree | e8cfc19258b1e9970d4cf5990dce979a9781eec5 | |
parent | Disable --with-cafile by default to use OpenSSL default paths (diff) | |
download | w3m-b6d29622b8c793fb28f1e05b04f18470918a3257.tar.gz w3m-b6d29622b8c793fb28f1e05b04f18470918a3257.zip |
Don't use SSL_CTX_set_default_verify_paths when not USE_SSL_VERIFY
-rw-r--r-- | url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -448,8 +448,8 @@ openSSLHandle(int sock, char *hostname, char **p_cert) && (!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); +#endif /* defined(USE_SSL_VERIFY) */ #endif /* SSLEAY_VERSION_NUMBER >= 0x0800 */ } handle = SSL_new(ssl_ctx); |