提交 f5d270ca 编写于 作者: B Benjamin Kaduk

Fix no-ec no-dh build

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4369)
上级 a8f730d5
...@@ -1615,7 +1615,11 @@ static MSG_PROCESS_RETURN tls_process_hello_retry_request(SSL *s, PACKET *pkt) ...@@ -1615,7 +1615,11 @@ static MSG_PROCESS_RETURN tls_process_hello_retry_request(SSL *s, PACKET *pkt)
OPENSSL_free(extensions); OPENSSL_free(extensions);
extensions = NULL; extensions = NULL;
if (s->ext.tls13_cookie_len == 0 && s->s3->tmp.pkey != NULL) { if (s->ext.tls13_cookie_len == 0
#if !defined(OPENSSL_NO_EC) || !defined(OPENSSL_NO_DH)
&& s->s3->tmp.pkey != NULL
#endif
) {
/* /*
* We didn't receive a cookie or a new key_share so the next * We didn't receive a cookie or a new key_share so the next
* ClientHello will not change * ClientHello will not change
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册