Skip to content

Commit 4f4826a

Browse files
Merge pull request wolfSSL#9385 from anhu/not_len
Use suites->hashSigAlgoSz when calling TLSX_SignatureAlgorithms_MapPss
2 parents 4c5bc5f + 6e583a0 commit 4f4826a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7594,7 +7594,7 @@ static int TLSX_SignatureAlgorithms_Parse(WOLFSSL *ssl, const byte* input,
75947594
}
75957595
XMEMCPY(suites->hashSigAlgo, input, suites->hashSigAlgoSz);
75967596

7597-
return TLSX_SignatureAlgorithms_MapPss(ssl, input, len);
7597+
return TLSX_SignatureAlgorithms_MapPss(ssl, input, suites->hashSigAlgoSz);
75987598
}
75997599

76007600
/* Sets a new SignatureAlgorithms extension into the extension list.

0 commit comments

Comments
 (0)