From 6e583a01f1b60a7ffbf65d2cea0204c69b4501d9 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Tue, 4 Nov 2025 15:36:33 -0500 Subject: [PATCH] Use suites->hashSigAlgoSz instead of len in call to TLSX_SignatureAlgorithms_MapPss --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 11c83c5ac..6d087f3d3 100644 --- a/src/tls.c +++ b/src/tls.c @@ -7594,7 +7594,7 @@ static int TLSX_SignatureAlgorithms_Parse(WOLFSSL *ssl, const byte* input, } XMEMCPY(suites->hashSigAlgo, input, suites->hashSigAlgoSz); - return TLSX_SignatureAlgorithms_MapPss(ssl, input, len); + return TLSX_SignatureAlgorithms_MapPss(ssl, input, suites->hashSigAlgoSz); } /* Sets a new SignatureAlgorithms extension into the extension list.