]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: @aczid's fix https://github.com/aczid/crypto1_bs/commit/957702be9c89f31a184971...
authoriceman1001 <iceman@iuse.se>
Tue, 18 Oct 2016 16:45:29 +0000 (18:45 +0200)
committericeman1001 <iceman@iuse.se>
Tue, 18 Oct 2016 16:45:29 +0000 (18:45 +0200)
from original @matrix https://github.com/matrix/proxmark3/commit/057d2e9147bc7d8fb3f7c4d7928e66e23fd58e50

client/cmdhfmfhard.c

index acdea7158dab3eb7d035020caf55c2eb6860c0be..a55a9e9f4b9b6bd121fef0e8fb52bd983dfe65a2 100644 (file)
@@ -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){
Impressum, Datenschutz