Skip to content

Commit 9c4e77d

Browse files
committed
DoTls13ClientHello: session length is a sender side requirement
F-433
1 parent 8a57ca8 commit 9c4e77d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/tls13.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6869,11 +6869,7 @@ int DoTls13ClientHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
68696869
#endif
68706870

68716871
sessIdSz = input[args->idx++];
6872-
#ifndef WOLFSSL_TLS13_MIDDLEBOX_COMPAT
68736872
if (sessIdSz > ID_LEN)
6874-
#else
6875-
if (sessIdSz != ID_LEN && sessIdSz != 0)
6876-
#endif
68776873
{
68786874
ERROR_OUT(INVALID_PARAMETER, exit_dch);
68796875
}

0 commit comments

Comments
 (0)