Replaced SSLv23 method by TLSv1 method
This commit is contained in:
1 parent
9640fd9985
commit
ed4d4f9eae
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user