mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Fix no-ec no-dh build
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4369)
This commit is contained in:
parent
a8f730d5d2
commit
f5d270cab5
@ -1615,7 +1615,11 @@ static MSG_PROCESS_RETURN tls_process_hello_retry_request(SSL *s, PACKET *pkt)
|
||||
OPENSSL_free(extensions);
|
||||
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
|
||||
* ClientHello will not change
|
||||
|
Loading…
Reference in New Issue
Block a user