提交 d25aeabc 编写于 作者: B Ben Laurie

Don't use EC when no-ec.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 6c3b5664
...@@ -1068,6 +1068,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl, ...@@ -1068,6 +1068,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
return 0; return 0;
break; break;
#ifndef OPENSSL_NO_EC
case SSL_kECDHE: case SSL_kECDHE:
case SSL_kECDHEPSK: case SSL_kECDHEPSK:
if (msglen < 1) if (msglen < 1)
...@@ -1093,6 +1094,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl, ...@@ -1093,6 +1094,7 @@ static int ssl_print_server_keyex(BIO *bio, int indent, SSL *ssl,
return 0; return 0;
} }
break; break;
#endif
case SSL_kPSK: case SSL_kPSK:
case SSL_kRSAPSK: case SSL_kRSAPSK:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册