Fossil SCM
SLL uses system-wide default CAs. Ticket [f696bc85f8b91d263f5bf4c5bbd2].
Commit
8995df3aeed8aa0ebe8801b2646adae8f7d3de4a
Parent
89d4d0b85bbc8e0…
1 file changed
+1
+1
| --- src/http_ssl.c | ||
| +++ src/http_ssl.c | ||
| @@ -90,10 +90,11 @@ | ||
| 90 | 90 | SSL_library_init(); |
| 91 | 91 | SSL_load_error_strings(); |
| 92 | 92 | ERR_load_BIO_strings(); |
| 93 | 93 | OpenSSL_add_all_algorithms(); |
| 94 | 94 | sslCtx = SSL_CTX_new(SSLv23_client_method()); |
| 95 | + X509_STORE_set_default_paths(SSL_CTX_get_cert_store(sslCtx)); | |
| 95 | 96 | sslIsInit = 1; |
| 96 | 97 | } |
| 97 | 98 | } |
| 98 | 99 | |
| 99 | 100 | /* |
| 100 | 101 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -90,10 +90,11 @@ | |
| 90 | SSL_library_init(); |
| 91 | SSL_load_error_strings(); |
| 92 | ERR_load_BIO_strings(); |
| 93 | OpenSSL_add_all_algorithms(); |
| 94 | sslCtx = SSL_CTX_new(SSLv23_client_method()); |
| 95 | sslIsInit = 1; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | /* |
| 100 |
| --- src/http_ssl.c | |
| +++ src/http_ssl.c | |
| @@ -90,10 +90,11 @@ | |
| 90 | SSL_library_init(); |
| 91 | SSL_load_error_strings(); |
| 92 | ERR_load_BIO_strings(); |
| 93 | OpenSSL_add_all_algorithms(); |
| 94 | sslCtx = SSL_CTX_new(SSLv23_client_method()); |
| 95 | X509_STORE_set_default_paths(SSL_CTX_get_cert_store(sslCtx)); |
| 96 | sslIsInit = 1; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /* |
| 101 |