mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 17:12:23 +01:00
Use suites->hashSigAlgoSz instead of len in call to TLSX_SignatureAlgorithms_MapPss
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user