diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 53223bd38..fc5316186 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -280,7 +280,16 @@ int ssl3_connect(SSL *s) if (ret <= 0) goto end; if (s->hit) + { s->state=SSL3_ST_CR_FINISHED_A; +#ifndef OPENSSL_NO_TLSEXT + if (s->tlsext_ticket_expected) + { + /* receive renewed session ticket */ + s->state=SSL3_ST_CR_SESSION_TICKET_A; + } +#endif + } else s->state=SSL3_ST_CR_CERT_A; s->init_num=0;