Skip to content

Commit

Permalink
fix build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Songling Han <[email protected]>
  • Loading branch information
songlingatpan committed Sep 22, 2024
1 parent a96ec56 commit 4526ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/sha2/sha2_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ void oqs_sha2_sha256_inc_finalize_c(uint8_t *out, sha256ctx *state, const uint8_
if (new_inlen == inlen) {
new_in = in;
} else { //Combine incremental data with final input
tmp_in = OQS_MEM_secure_checked_malloc(tmp_len);
tmp_in = OQS_MEM_checked_malloc(tmp_len);
if (tmp_in == NULL) {
return; // Handle allocation failure
}
Expand Down

0 comments on commit 4526ad3

Please sign in to comment.