Fossil SCM

SLL uses system-wide default CAs. Ticket [f696bc85f8b91d263f5bf4c5bbd2].

drh 2010-10-06 12:15 trunk
Commit 8995df3aeed8aa0ebe8801b2646adae8f7d3de4a
1 file changed +1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -90,10 +90,11 @@
9090
SSL_library_init();
9191
SSL_load_error_strings();
9292
ERR_load_BIO_strings();
9393
OpenSSL_add_all_algorithms();
9494
sslCtx = SSL_CTX_new(SSLv23_client_method());
95
+ X509_STORE_set_default_paths(SSL_CTX_get_cert_store(sslCtx));
9596
sslIsInit = 1;
9697
}
9798
}
9899
99100
/*
100101
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button