Fossil SCM
Remove OpenSSL initialization call that is not needed and which is deprecated in newer versions of OpenSSL.
Commit
8c1263754c66005d5697f9e98dbadb90e0e0d688e8564eebba8e3eaae59ebd0a
Parent
7f7df29bfc47efc…
1 file changed
-1
-1
| --- src/http_ssl.c | ||
| +++ src/http_ssl.c | ||
| @@ -141,11 +141,10 @@ | ||
| 141 | 141 | const char *identityFile; |
| 142 | 142 | |
| 143 | 143 | if( sslIsInit==0 ){ |
| 144 | 144 | SSL_library_init(); |
| 145 | 145 | SSL_load_error_strings(); |
| 146 | - ERR_load_BIO_strings(); | |
| 147 | 146 | OpenSSL_add_all_algorithms(); |
| 148 | 147 | sslCtx = SSL_CTX_new(SSLv23_client_method()); |
| 149 | 148 | /* Disable SSLv2 and SSLv3 */ |
| 150 | 149 | SSL_CTX_set_options(sslCtx, SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3); |
| 151 | 150 | |
| 152 | 151 |
| --- 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 |