PR: 2888
Reported by: Daniel Black <daniel.black@openquery.com> Support renewing session tickets (backport from HEAD).
This commit is contained in:
parent
235e76bce1
commit
8dad8bc465
@ -280,7 +280,16 @@ int ssl3_connect(SSL *s)
|
|||||||
if (ret <= 0) goto end;
|
if (ret <= 0) goto end;
|
||||||
|
|
||||||
if (s->hit)
|
if (s->hit)
|
||||||
|
{
|
||||||
s->state=SSL3_ST_CR_FINISHED_A;
|
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
|
else
|
||||||
s->state=SSL3_ST_CR_CERT_A;
|
s->state=SSL3_ST_CR_CERT_A;
|
||||||
s->init_num=0;
|
s->init_num=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user