fix session ticket get size
This commit is contained in:
parent
7c67a9261c
commit
214eba0325
@ -1776,7 +1776,7 @@ static void TLSX_SessionTicket_ValidateRequest(CYASSL* ssl)
|
||||
}
|
||||
|
||||
|
||||
static byte TLSX_SessionTicket_GetSize(SessionTicket* ticket, int isRequest)
|
||||
static word16 TLSX_SessionTicket_GetSize(SessionTicket* ticket, int isRequest)
|
||||
{
|
||||
return isRequest && ticket ? ticket->size : 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user