Reset s->tlsext_ticket_expected in ssl_scan_serverhello_tlsext.
authorEmilia Kasper <emilia@openssl.org>
Wed, 19 Nov 2014 14:42:43 +0000 (15:42 +0100)
committerEmilia Kasper <emilia@openssl.org>
Thu, 20 Nov 2014 13:57:15 +0000 (14:57 +0100)
commita06cd5d056c6a5b1d161786873e21a5e53d554d8
tree7de291ef28fe195dd2063d41cbb33424d212b496
parent13d568661c14f71b3c6af263e1b60b92be738f57
Reset s->tlsext_ticket_expected in ssl_scan_serverhello_tlsext.
This ensures that it's zeroed even if the SSL object is reused
(as in ssltest.c). It also ensures that it applies to DTLS, too.

Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/s3_clnt.c
ssl/t1_lib.c