fix session ticket get size

This commit is contained in:
toddouska 2014-10-06 14:52:05 -07:00
parent 7c67a9261c
commit 214eba0325

View File

@ -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; return isRequest && ticket ? ticket->size : 0;
} }