mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Fix in ssltest is no-ssl2 configured
(cherry picked from commit cbf9b4aed3
)
This commit is contained in:
parent
7e47a69544
commit
b7c37f2fc0
@ -977,7 +977,13 @@ bad:
|
||||
meth=SSLv23_method();
|
||||
#else
|
||||
#ifdef OPENSSL_NO_SSL2
|
||||
meth=SSLv3_method();
|
||||
if (tls1)
|
||||
meth=TLSv1_method();
|
||||
else
|
||||
if (ssl3)
|
||||
meth=SSLv3_method();
|
||||
else
|
||||
meth=SSLv23_method();
|
||||
#else
|
||||
meth=SSLv2_method();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user