diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-02-11 18:17:50 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-02-11 18:17:50 +0000 |
commit | cbf9b4aed3e209fe8a39e1d6f55aaf46d1369dc4 (patch) | |
tree | 17564039c062506ff23e6799233d9e691b204845 /ssl/ssltest.c | |
parent | 625a55324f8beffeab2e31ecd775a49d786bfa64 (diff) |
Fix in ssltest is no-ssl2 configured
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r-- | ssl/ssltest.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 316bbb0c95..4f80be8ee4 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -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 |