Skip to content

Commit

Permalink
Merge pull request #7342 from JacobBarthelmeh/testing1
Browse files Browse the repository at this point in the history
revert null check in wc_Sha256Update
  • Loading branch information
dgarske authored Mar 15, 2024
2 parents 5a5648a + ab8f5f7 commit 99dd8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/sha256.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ static int InitSha256(wc_Sha256* sha256)
{
int ret = 0;

if (sha224 == NULL || (data == NULL && len > 0)) {
if (sha256 == NULL || (data == NULL && len > 0)) {
return BAD_FUNC_ARG;
}

Expand Down

0 comments on commit 99dd8a3

Please sign in to comment.