Commit b7c37f2f authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix in ssltest is no-ssl2 configured

(cherry picked from commit cbf9b4aed3e209fe8a39e1d6f55aaf46d1369dc4)
parent 7e47a695
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -977,7 +977,13 @@ bad:
		meth=SSLv23_method();
#else
#ifdef OPENSSL_NO_SSL2
	if (tls1)
		meth=TLSv1_method();
	else
	if (ssl3)
		meth=SSLv3_method();
	else
		meth=SSLv23_method();
#else
	meth=SSLv2_method();
#endif