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.