From 88f503735c85c716cc14af088707f1cdf76155de Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 18 Oct 2016 18:45:29 +0200 Subject: [PATCH 1/1] FIX: @aczid's fix https://github.com/aczid/crypto1_bs/commit/957702be9c89f31a184971c5b5ada70fe05042c3 from original @matrix https://github.com/matrix/proxmark3/commit/057d2e9147bc7d8fb3f7c4d7928e66e23fd58e50 --- client/cmdhfmfhard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index acdea715..a55a9e9f 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -1474,7 +1474,7 @@ static const uint64_t crack_states_bitsliced(statelist_t *p){ const bitslice_value_t odd_feedback = odd_feedback_bit ? bs_ones.value : bs_zeroes.value; for(size_t block_idx = 0; block_idx < bitsliced_blocks; ++block_idx){ - const bitslice_t const * restrict bitsliced_even_state = bitsliced_even_states[block_idx]; + const bitslice_t * const restrict bitsliced_even_state = bitsliced_even_states[block_idx]; size_t state_idx; // set even bits for(state_idx = 0; state_idx < STATE_SIZE-ROLLBACK_SIZE; state_idx+=2){ -- 2.39.5