mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed another location of SSLV23
This commit is contained in:
parent
da69122988
commit
f8d2dcb11f
@ -2342,7 +2342,7 @@ int ssl_connect(int sock, SSL ** ssl_con)
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
meth = (SSL_METHOD *) SSLv23_method();
|
meth = (SSL_METHOD *) TLSv1_method();
|
||||||
ctx = SSL_CTX_new(meth);
|
ctx = SSL_CTX_new(meth);
|
||||||
|
|
||||||
*ssl_con = SSL_new(ctx);
|
*ssl_con = SSL_new(ctx);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user