diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/IO/tls_openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IO/tls_openssl.c b/src/IO/tls_openssl.c index 33cced84..d2a454e7 100644 --- a/src/IO/tls_openssl.c +++ b/src/IO/tls_openssl.c @@ -257,7 +257,7 @@ void a_Tls_openssl_init(void) } /* Create SSL context */ - ssl_context = SSL_CTX_new(SSLv23_client_method()); + ssl_context = SSL_CTX_new(TLS_client_method()); if (ssl_context == NULL) { MSG_ERR("Disabling HTTPS: Error creating SSL context.\n"); return; |