From c571b1e0ad35e55e4c6cb7b76064addaba509027 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 25 Jan 2021 20:59:32 +0100 Subject: [PATCH] hf mf hardnested - clear these too --- client/deps/hardnested/hardnested_bruteforce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/deps/hardnested/hardnested_bruteforce.c b/client/deps/hardnested/hardnested_bruteforce.c index 0c768f400..a589040ac 100644 --- a/client/deps/hardnested/hardnested_bruteforce.c +++ b/client/deps/hardnested/hardnested_bruteforce.c @@ -465,7 +465,8 @@ float brute_force_benchmark(void) { free(test_candidates[0].states[ODD_STATE]); free(test_candidates[0].states[EVEN_STATE]); - + test_candidates[0].len[ODD_STATE] = 0; + test_candidates[0].len[EVEN_STATE] = 0; return bf_rate; }