Differences From Artifact [56d783c4e1]:
- File src/http_ssl.c — part of check-in [29c728f4b3] at 2010-08-28 20:22:35 on branch windowscompilers — Added ssl support to msc msc doesn't like declaring vars in the middle of a block! added the extra needed libs in a commented LIBS line (user: renez size: 7434) [more...]
To Artifact [54bf448ea6]:
- File src/http_ssl.c — part of check-in [8995df3aee] at 2010-10-06 12:15:38 on branch trunk — SLL uses system-wide default CAs. Ticket [f696bc85f8b91d263f5bf4c5bbd2]. (user: drh size: 7500) [more...]
| ︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + |
void ssl_global_init(void){
if( sslIsInit==0 ){
SSL_library_init();
SSL_load_error_strings();
ERR_load_BIO_strings();
OpenSSL_add_all_algorithms();
sslCtx = SSL_CTX_new(SSLv23_client_method());
X509_STORE_set_default_paths(SSL_CTX_get_cert_store(sslCtx));
sslIsInit = 1;
}
}
/*
** Call this routine to shutdown the SSL module prior to program exit.
*/
|
| ︙ |