diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-10-18 11:39:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-10-18 11:39:11 +0000 |
commit | 5f95651316bc6c74485b8ac40f378e56cbedeee6 (patch) | |
tree | a26b90234c9e20ebd66582b48398cff29b65f916 /ssl | |
parent | ccac65755639aaa8ec38b7f1e175e00a5294d901 (diff) |
Ensure the ticket expected flag is reset when a stateless resumption is
successful.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 1bd67b40b1..8ff1734dab 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -847,6 +847,7 @@ static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, memcpy(sess->session_id, sess_id, sesslen); sess->session_id_length = sesslen; *psess = sess; + s->tlsext_ticket_expected = 0; return 1; } /* If session decrypt failure indicate a cache miss and set state to |