Fix ticket callbacks in TLSv1.3
[openssl.git] / ssl / statem / statem_lib.c
index 74ad6e804a30746690f16317f34e4b1097b3a72b..5db5c80a88c91308f92aa265738d48e2ad313cd6 100644 (file)
@@ -1042,6 +1042,7 @@ WORK_STATE tls_finish_handshake(SSL *s, WORK_STATE wst, int clearbufs, int stop)
         s->renegotiate = 0;
         s->new_session = 0;
         s->statem.cleanuphand = 0;
+        s->ext.ticket_expected = 0;
 
         ssl3_cleanup_key_block(s);