Fix for building without session-ticket
.
This commit is contained in:
parent
e15e0828bf
commit
9409d8682f
@ -2519,10 +2519,12 @@ static int ProcessSessionTicket(const byte* input, int* sslBytes,
|
||||
}
|
||||
input += OPAQUE8_LEN;
|
||||
*sslBytes -= OPAQUE8_LEN;
|
||||
#ifdef HAVE_SESSION_TICKET
|
||||
/* store nonce in server for DeriveResumptionPSK */
|
||||
session->sslServer->session.ticketNonce.len = len;
|
||||
if (len > 0)
|
||||
XMEMCPY(&session->sslServer->session.ticketNonce.data, input, len);
|
||||
#endif
|
||||
input += len;
|
||||
*sslBytes -= len;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user