Fossil
Check-in [8995df3aee]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:8995df3aeed8aa0ebe8801b2646adae8f7d3de4a
Date: 2010-10-06 12:15:38
User: drh
Comment:SLL uses system-wide default CAs. Ticket [f696bc85f8b91d263f5bf4c5bbd2].
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to src/http_ssl.c

88 void ssl_global_init(void){ 88 void ssl_global_init(void){ 89 if( sslIsInit==0 ){ 89 if( sslIsInit==0 ){ 90 SSL_library_init(); 90 SSL_library_init(); 91 SSL_load_error_strings(); 91 SSL_load_error_strings(); 92 ERR_load_BIO_strings(); 92 ERR_load_BIO_strings(); 93 OpenSSL_add_all_algorithms(); 93 OpenSSL_add_all_algorithms(); 94 sslCtx = SSL_CTX_new(SSLv23_client_method()); 94 sslCtx = SSL_CTX_new(SSLv23_client_method()); > 95 X509_STORE_set_default_paths(SSL_CTX_get_cert_store(sslCtx)); 95 sslIsInit = 1; 96 sslIsInit = 1; 96 } 97 } 97 } 98 } 98 99 99 /* 100 /* 100 ** Call this routine to shutdown the SSL module prior to program exit. 101 ** Call this routine to shutdown the SSL module prior to program exit. 101 */ 102 */