Use suites->hashSigAlgoSz instead of len in call to TLSX_SignatureAlgorithms_MapPss

This commit is contained in:
Anthony Hu
2025-11-04 15:36:33 -05:00
parent 9fdcd2e72a
commit 6e583a01f1

View File

@@ -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.