summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-11-19 16:02:49 +0000
committerMatt Caswell <matt@openssl.org>2014-11-19 23:57:02 +0000
commit5891c226d8c156462337c284c900f33a57bf6a84 (patch)
treef435a75d83e7bd62134061f36ed1f451da5cb475 /apps
parent017a15cbd290a6fd008f19d1873071f36a624b1b (diff)
Fix s_server -ssl2. Previously this reported "Error setting EC curve"
Reviewed-by: Dr. Stephen Henson <steve@openssl.org> (cherry picked from commit 13d568661c14f71b3c6af263e1b60b92be738f57)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index a2004b065b..dbc4373044 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1400,7 +1400,10 @@ int MAIN(int argc, char *argv[])
{ www=3; }
#ifndef OPENSSL_NO_SSL2
else if (strcmp(*argv,"-ssl2") == 0)
- { meth=SSLv2_server_method(); }
+ {
+ no_ecdhe=1;
+ meth=SSLv2_server_method();
+ }
#endif
#ifndef OPENSSL_NO_SSL3_METHOD
else if (strcmp(*argv,"-ssl3") == 0)