Fossil

Diff
Login

Differences From Artifact [56d783c4e1]:

To Artifact [54bf448ea6]:


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.
*/