mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
don't echo session id on blank ticket if we're going to create a new ticket
This commit is contained in:
@@ -3160,6 +3160,8 @@ static int TLSX_SessionTicket_Parse(WOLFSSL* ssl, byte* input, word16 length,
|
|||||||
TLSX_SetResponse(ssl, TLSX_SESSION_TICKET); /* send blank ticket */
|
TLSX_SetResponse(ssl, TLSX_SESSION_TICKET); /* send blank ticket */
|
||||||
ssl->options.createTicket = 1; /* will send ticket msg */
|
ssl->options.createTicket = 1; /* will send ticket msg */
|
||||||
ssl->options.useTicket = 1;
|
ssl->options.useTicket = 1;
|
||||||
|
ssl->options.resuming = 0; /* no standard resumption */
|
||||||
|
ssl->arrays->sessionIDSz = 0; /* no echo on blank ticket */
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* got actual ticket from client */
|
/* got actual ticket from client */
|
||||||
|
Reference in New Issue
Block a user