Merge pull request #480 from toddouska/noecho

don't echo session id on blank ticket if we're going to create a new …
This commit is contained in:
Chris Conlon
2016-07-15 13:12:27 -06:00
committed by GitHub

View File

@@ -3160,6 +3160,8 @@ static int TLSX_SessionTicket_Parse(WOLFSSL* ssl, byte* input, word16 length,
TLSX_SetResponse(ssl, TLSX_SESSION_TICKET); /* send blank ticket */
ssl->options.createTicket = 1; /* will send ticket msg */
ssl->options.useTicket = 1;
ssl->options.resuming = 0; /* no standard resumption */
ssl->arrays->sessionIDSz = 0; /* no echo on blank ticket */
}
} else {
/* got actual ticket from client */