Don't use EC when no-ec.

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Ben Laurie 2015-12-13 15:07:54 +00:00
parent 6c3b566497
commit d25aeabca8

View File

@ -1068,6 +1068,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
return 0;
break;
#ifndef OPENSSL_NO_EC
case SSL_kECDHE:
case SSL_kECDHEPSK:
if (msglen < 1)
@ -1093,6 +1094,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
return 0;
}
break;
#endif
case SSL_kPSK:
case SSL_kRSAPSK: