projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9fd43
)
Fix in ssltest is no-ssl2 configured
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 11 Feb 2013 18:17:50 +0000
(18:17 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 11 Feb 2013 18:27:33 +0000
(18:27 +0000)
(cherry picked from commit
cbf9b4aed3e209fe8a39e1d6f55aaf46d1369dc4
)
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 310e0677e90a37d5d497cea68054ce5ff9f8d5c7..26ff634ea3c8b2dcb477a6f4cce368a3dff9563b 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-735,7
+735,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