From 4526ad32e910298b62bf04f5b1f950dc5da7934a Mon Sep 17 00:00:00 2001 From: Songling Han Date: Sun, 22 Sep 2024 15:11:22 +0000 Subject: [PATCH] fix build failure Signed-off-by: Songling Han --- src/common/sha2/sha2_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sha2/sha2_c.c b/src/common/sha2/sha2_c.c index 9db9f8cf7..09eea372d 100644 --- a/src/common/sha2/sha2_c.c +++ b/src/common/sha2/sha2_c.c @@ -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 }