From 8df25393db2ecb429fd54496de5e4dffee7af8fd Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Thu, 15 Aug 2024 19:07:27 -0400 Subject: [PATCH] Thu Aug 15 07:07:27 PM EDT 2024 --- src/context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/context.c b/src/context.c index b47c3b2..ab8bb64 100644 --- a/src/context.c +++ b/src/context.c @@ -96,6 +96,7 @@ int qanselContextBegin(QAnselContext* ctx) else { fclose(ctx->random_file); + ctx->random_file = NULL; if (ctx->verbose) printf("QAnsel: Hardware `Quantis` selected.\n"); ctx->hardware_rng = QANSEL_HARDWARE_QUANTIS; ctx->pointer = QANSEL_QUANTIS_CHUNK_SIZE; -- 2.39.5