From ed4d4f9eae7cc20d65929ed0c82f7cd3e981a10e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 25 Nov 2014 15:19:01 +0100 Subject: [PATCH] Replaced SSLv23 method by TLSv1 method --- src/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);