Fix from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 18 Oct 2007 11:42:47 +0000 (11:42 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 18 Oct 2007 11:42:47 +0000 (11:42 +0000)
ssl/t1_lib.c

index b0b5687c3bb974e9045394127effac17ab0a2672..2c0eb3a6d005b9aa08989291ae2bc3849bff127e 100644 (file)
@@ -1482,6 +1482,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