diff --git a/src/elog.c b/src/elog.c index b2d90e31..46c2b0df 100755 --- a/src/elog.c +++ b/src/elog.c @@ -292,7 +292,7 @@ int ssl_connect(int sock, SSL ** ssl_con) SSL_library_init(); SSL_load_error_strings(); - meth = (SSL_METHOD *) SSLv23_method(); + meth = (SSL_METHOD *) TLSv1_method(); ctx = SSL_CTX_new(meth); *ssl_con = SSL_new(ctx);