From: Matt Caswell Date: Wed, 19 Nov 2014 16:02:49 +0000 (+0000) Subject: Fix s_server -ssl2. Previously this reported "Error setting EC curve" X-Git-Tag: master-post-reformat~287 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=13d568661c14f71b3c6af263e1b60b92be738f57 Fix s_server -ssl2. Previously this reported "Error setting EC curve" Reviewed-by: Dr. Stephen Henson --- diff --git a/apps/s_server.c b/apps/s_server.c index c9764e923b..8a28bdd69f 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1408,7 +1408,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)