Fix s_server -ssl2. Previously this reported "Error setting EC curve"
Reviewed-by: Dr. Stephen Henson <steve@openssl.org> (cherry picked from commit 13d568661c14f71b3c6af263e1b60b92be738f57)
This commit is contained in:
parent
017a15cbd2
commit
5891c226d8
@ -1400,7 +1400,10 @@ int MAIN(int argc, char *argv[])
|
|||||||
{ www=3; }
|
{ www=3; }
|
||||||
#ifndef OPENSSL_NO_SSL2
|
#ifndef OPENSSL_NO_SSL2
|
||||||
else if (strcmp(*argv,"-ssl2") == 0)
|
else if (strcmp(*argv,"-ssl2") == 0)
|
||||||
{ meth=SSLv2_server_method(); }
|
{
|
||||||
|
no_ecdhe=1;
|
||||||
|
meth=SSLv2_server_method();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef OPENSSL_NO_SSL3_METHOD
|
#ifndef OPENSSL_NO_SSL3_METHOD
|
||||||
else if (strcmp(*argv,"-ssl3") == 0)
|
else if (strcmp(*argv,"-ssl3") == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user