Skip to content

Commit

Permalink
Revert Sha3Free
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Oct 25, 2024
1 parent 2a5e3c5 commit 022e043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ static int image_sha3_384(struct wolfBoot_image *img, uint8_t *hash)
} while(position < img->fw_size);

wc_Sha3_384_Final(&sha3_ctx, hash);
wc_Sha3Free(&sha3_ctx, hash);
wc_Sha3_384_Free(&sha3_ctx);
return 0;
}
#ifndef WOLFBOOT_NO_SIGN
Expand Down

0 comments on commit 022e043

Please sign in to comment.