diff options
author | Matt Caswell <matt@openssl.org> | 2017-09-13 14:50:49 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-01-24 18:02:36 +0000 |
commit | c36001c3a89691e21dc4940425fc880c89c57ffc (patch) | |
tree | eec5a59717a3a6b742b5af6bc2076bccf2e2c036 /ssl/statem/extensions_srvr.c | |
parent | 042c57539bfe7bbd642cdf6410c56327e91ad908 (diff) |
Fix logic around when to send an HRR based on cookies
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4435)
Diffstat (limited to 'ssl/statem/extensions_srvr.c')
-rw-r--r-- | ssl/statem/extensions_srvr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/statem/extensions_srvr.c b/ssl/statem/extensions_srvr.c index 16f1b85367..83cd3633a6 100644 --- a/ssl/statem/extensions_srvr.c +++ b/ssl/statem/extensions_srvr.c @@ -895,6 +895,8 @@ int tls_parse_ctos_cookie(SSL *s, PACKET *pkt, unsigned int context, X509 *x, /* Act as if this ClientHello came after a HelloRetryRequest */ s->hello_retry_request = 1; + s->ext.cookieok = 1; + return 1; } |