Merge pull request #7342 from JacobBarthelmeh/testing1

revert null check in wc_Sha256Update
This commit is contained in:
David Garske
2024-03-15 14:24:45 -07:00
committed by GitHub

View File

@@ -617,7 +617,7 @@ static int InitSha256(wc_Sha256* sha256)
{ {
int ret = 0; int ret = 0;
if (sha224 == NULL || (data == NULL && len > 0)) { if (sha256 == NULL || (data == NULL && len > 0)) {
return BAD_FUNC_ARG; return BAD_FUNC_ARG;
} }