Fix in ssltest is no-ssl2 configured
This commit is contained in:
parent
625a55324f
commit
cbf9b4aed3
1 changed files with 7 additions and 1 deletions
|
@ -881,7 +881,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 a new issue