Fix in ssltest is no-ssl2 configured

(cherry picked from commit cbf9b4aed3)
This commit is contained in:
Dr. Stephen Henson 2013-02-11 18:17:50 +00:00
parent 5584a95490
commit 0ced72c608

View file

@ -970,7 +970,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