mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
fix for --disable-tls13 --enable-sniffer
This commit is contained in:
@ -2524,12 +2524,15 @@ static int ProcessSessionTicket(const byte* input, int* sslBytes,
|
||||
SnifferSession* session, char* error)
|
||||
{
|
||||
word16 len;
|
||||
|
||||
#ifdef WOLFSSL_TLS13
|
||||
WOLFSSL* ssl;
|
||||
|
||||
if (session->flags.side == WOLFSSL_SERVER_END)
|
||||
ssl = session->sslServer;
|
||||
else
|
||||
ssl = session->sslClient;
|
||||
#endif
|
||||
|
||||
/* make sure can read through hint len */
|
||||
if (TICKET_HINT_LEN > *sslBytes) {
|
||||
|
Reference in New Issue
Block a user