From 1f1929a4aa2e013f3ed656a07c5841afa2727779 Mon Sep 17 00:00:00 2001 From: iceman Date: Tue, 12 Jan 2016 15:57:53 +0100 Subject: [PATCH] CHG: maybe this init works better? --- client/cmdhfmfhard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index e2d6da74..2c1ed7c4 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -686,8 +686,8 @@ static void Check_for_FilterFlipProperties(void) static void simulate_MFplus_RNG(uint32_t test_cuid, uint64_t test_key, uint32_t *nt_enc, uint8_t *par_enc) { - struct Crypto1State sim_cs; - sim_cs.odd = sim_cs.even = 0; + struct Crypto1State sim_cs = {0, 0}; +// sim_cs.odd = sim_cs.even = 0; // init cryptostate with key: for(int8_t i = 47; i > 0; i -= 2) { -- 2.39.2