mirror of https://github.com/openssl/openssl.git
Ensure the ticket expected flag is reset when a stateless resumption is
successful.
This commit is contained in:
parent
ccac657556
commit
5f95651316
|
|
@ -847,6 +847,7 @@ static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen,
|
||||||
memcpy(sess->session_id, sess_id, sesslen);
|
memcpy(sess->session_id, sess_id, sesslen);
|
||||||
sess->session_id_length = sesslen;
|
sess->session_id_length = sesslen;
|
||||||
*psess = sess;
|
*psess = sess;
|
||||||
|
s->tlsext_ticket_expected = 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
/* If session decrypt failure indicate a cache miss and set state to
|
/* If session decrypt failure indicate a cache miss and set state to
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue