From 4ab54914e3e9e24f1d04694ea0d8926c576cf905 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 10 Aug 2016 16:28:23 +0200 Subject: [PATCH] CHG: more struct errors.. my bad, --- client/nonce2key/crapto1.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/nonce2key/crapto1.c b/client/nonce2key/crapto1.c index 9f349e17..6980909c 100644 --- a/client/nonce2key/crapto1.c +++ b/client/nonce2key/crapto1.c @@ -471,14 +471,14 @@ static struct Crypto1State* check_pfx_parity_ex(uint32_t prefix, uint32_t odd, u uint32_t c = 0; - sl.odd = odd ^ fastfwd[1][c]; - sl.even = even ^ fastfwd[0][c]; + sl->odd = odd ^ fastfwd[1][c]; + sl->even = even ^ fastfwd[0][c]; - lfsr_rollback_bit(&sl, 0, 0); - lfsr_rollback_bit(&sl, 0, 0); - lfsr_rollback_bit(&sl, 0, 0); - lfsr_rollback_word(&sl, 0, 0); - lfsr_rollback_word(&sl, prefix | c << 5, 1); + lfsr_rollback_bit(sl, 0, 0); + lfsr_rollback_bit(sl, 0, 0); + lfsr_rollback_bit(sl, 0, 0); + lfsr_rollback_word(sl, 0, 0); + lfsr_rollback_word(sl, prefix | c << 5, 1); return ++sl; } -- 2.39.2