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 14:09:45 +0000 (15:09 +0100)
commitce5f32cfa717fa3bbc13b99974b57bd8660e454a
treed024170e5b9ef2cb2025d8950967b8b115c1dc36
parent5891c226d8c156462337c284c900f33a57bf6a84
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>
(cherry picked from commit a06cd5d056c6a5b1d161786873e21a5e53d554d8)
ssl/s3_clnt.c
ssl/t1_lib.c