From d304b811da939d141153fc9ab172238e1634b241 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 8 Feb 2023 19:26:54 +0100 Subject: [PATCH] renamed memory_identifier in why2_generate_key --- src/core/lib/utils/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lib/utils/misc.c b/src/core/lib/utils/misc.c index bb460eb..e364151 100644 --- a/src/core/lib/utils/misc.c +++ b/src/core/lib/utils/misc.c @@ -416,7 +416,7 @@ void why2_generate_key(char *key, int keyLength) if (!seedSet) { - why2_set_memory_identifier("core_key_generation"); + why2_set_memory_identifier("core_key_generation_random"); //TRY TO MAKE RANDOM GENERATION REALLY "RANDOM" FILE *fileBuffer; @@ -427,7 +427,7 @@ void why2_generate_key(char *key, int keyLength) { if (!why2_get_flags().no_output) fprintf(stderr, "Reading file failed!\n"); - why2_clean_memory("core_key_generation"); + why2_clean_memory("core_key_generation_random"); return; }