Merge pull request #916 from yosuke-wolfssl/f_2861

Fix PostSignRequest
pull/918/head
JacobBarthelmeh 2026-04-15 14:59:02 -06:00 committed by GitHub
commit 346c5c11cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -863,6 +863,7 @@ static int PostSignRequest(WOLFSSH_AGENT_CTX* agent,
}
if (ret == WS_SUCCESS) {
digestSz = (word32)wc_HashGetDigestSize(hashType);
ret = wc_Hash(hashType, data, dataSz, digest, digestSz);
if (ret != 0)
ret = WS_CRYPTO_FAILED;