mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #3364 from dgarske/zd11064
Fix for sniffer without TLS v1.3
This commit is contained in:
@ -2769,11 +2769,13 @@ static int ProcessServerHello(int msgSz, const byte* input, int* sslBytes,
|
||||
/* indicates we want to use resumption */
|
||||
session->sslServer->options.resuming = 1;
|
||||
session->sslClient->options.resuming = 1;
|
||||
#ifdef WOLFSSL_TLS13
|
||||
/* default nonce to len = 1, data = 0 */
|
||||
session->sslServer->session.ticketNonce.len = 1;
|
||||
session->sslServer->session.ticketNonce.data[0] = 0;
|
||||
session->sslClient->session.ticketNonce.len = 1;
|
||||
session->sslClient->session.ticketNonce.data[0] = 0;
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
#ifdef HAVE_MAX_FRAGMENT
|
||||
|
Reference in New Issue
Block a user