diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-02 17:37:03 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-04 23:32:39 +0000 |
commit | cfef5027bf27a74098588e48829f0d058b4b0aea (patch) | |
tree | 9e2b7b6d2b17816b14885bbdae9d40fd96698fe6 /ssl/ssl_lib.c | |
parent | 6356716ac09d94a0c85fd6e5ad12f088c54d75c0 (diff) |
Add basic TLSv1.3 cookie support
We do not allow the generation of TLSv1.3 cookies. But if we receive one
in an HRR we will echo it back in the ClientHello.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2839)
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index fcf4f4d347..f0e8639d61 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1017,6 +1017,7 @@ void SSL_free(SSL *s) #endif OPENSSL_free(s->ext.ocsp.resp); OPENSSL_free(s->ext.alpn); + OPENSSL_free(s->ext.tls13_cookie); OPENSSL_free(s->clienthello); sk_X509_NAME_pop_free(s->client_CA, X509_NAME_free); |