Skip to content

Commit f7a25e7

Browse files
committed
Fix linuxkm CI
1 parent cc65315 commit f7a25e7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tls.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11595,10 +11595,8 @@ int TLSX_PreSharedKey_Parse_ClientHello(TLSX** extensions, const byte* input,
1159511595
ato16(input + idx, &identityLen);
1159611596
idx += OPAQUE16_LEN;
1159711597
if (len < OPAQUE16_LEN + identityLen + OPAQUE32_LEN ||
11598-
identityLen > MAX_PSK_ID_LEN) {
11599-
fprintf(stderr, "PSK identity length error %d\n", identityLen);
11598+
identityLen > MAX_PSK_ID_LEN)
1160011599
return BUFFER_E;
11601-
}
1160211600
/* Cache identity pointer. */
1160311601
identity = input + idx;
1160411602
idx += identityLen;

0 commit comments

Comments
 (0)