Fossil SCM

Remove OpenSSL initialization call that is not needed and which is deprecated in newer versions of OpenSSL.

drh 2021-11-05 15:54 trunk
Commit 8c1263754c66005d5697f9e98dbadb90e0e0d688e8564eebba8e3eaae59ebd0a
1 file changed -1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -141,11 +141,10 @@
141141
const char *identityFile;
142142
143143
if( sslIsInit==0 ){
144144
SSL_library_init();
145145
SSL_load_error_strings();
146
- ERR_load_BIO_strings();
147146
OpenSSL_add_all_algorithms();
148147
sslCtx = SSL_CTX_new(SSLv23_client_method());
149148
/* Disable SSLv2 and SSLv3 */
150149
SSL_CTX_set_options(sslCtx, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3);
151150
152151
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -141,11 +141,10 @@
141 const char *identityFile;
142
143 if( sslIsInit==0 ){
144 SSL_library_init();
145 SSL_load_error_strings();
146 ERR_load_BIO_strings();
147 OpenSSL_add_all_algorithms();
148 sslCtx = SSL_CTX_new(SSLv23_client_method());
149 /* Disable SSLv2 and SSLv3 */
150 SSL_CTX_set_options(sslCtx, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3);
151
152
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -141,11 +141,10 @@
141 const char *identityFile;
142
143 if( sslIsInit==0 ){
144 SSL_library_init();
145 SSL_load_error_strings();
 
146 OpenSSL_add_all_algorithms();
147 sslCtx = SSL_CTX_new(SSLv23_client_method());
148 /* Disable SSLv2 and SSLv3 */
149 SSL_CTX_set_options(sslCtx, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3);
150
151

Keyboard Shortcuts

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