mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix DetectNACKbug: sync_cycles is signed
This commit is contained in:
parent
fb07fd92f3
commit
3807848171
1 changed files with 1 additions and 1 deletions
|
@ -2747,7 +2747,7 @@ void DetectNACKbug() {
|
|||
bool received_nack;
|
||||
|
||||
// Mifare Classic's random generator repeats every 2^16 cycles (and so do the nonces).
|
||||
uint32_t sync_cycles = PRNG_SEQUENCE_LENGTH;
|
||||
int32_t sync_cycles = PRNG_SEQUENCE_LENGTH;
|
||||
|
||||
BigBuf_free();
|
||||
BigBuf_Clear_ext(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue