Fix in ssltest is no-ssl2 configured
(cherry picked from commit cbf9b4aed3e209fe8a39e1d6f55aaf46d1369dc4)
This commit is contained in:
parent
243dac0af0
commit
02c54f7c22
@ -782,7 +782,13 @@ bad:
|
|||||||
meth=SSLv23_method();
|
meth=SSLv23_method();
|
||||||
#else
|
#else
|
||||||
#ifdef OPENSSL_NO_SSL2
|
#ifdef OPENSSL_NO_SSL2
|
||||||
meth=SSLv3_method();
|
if (tls1)
|
||||||
|
meth=TLSv1_method();
|
||||||
|
else
|
||||||
|
if (ssl3)
|
||||||
|
meth=SSLv3_method();
|
||||||
|
else
|
||||||
|
meth=SSLv23_method();
|
||||||
#else
|
#else
|
||||||
meth=SSLv2_method();
|
meth=SSLv2_method();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user