mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-17 18:50:32 +08:00
MifareChkKeys_fast: fix always false cond
This commit is contained in:
parent
091ddb26f0
commit
92d94390ac
1 changed files with 1 additions and 1 deletions
|
@ -1247,7 +1247,7 @@ void MifareChkKeys_fast(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *da
|
|||
|
||||
keyCount = size[1] << 8 | size[0];
|
||||
|
||||
if (keyCount == 0 && keyCount == 0xFFFF)
|
||||
if (keyCount == 0 || keyCount == 0xFFFF)
|
||||
goto OUT;
|
||||
|
||||
datain = BigBuf_malloc(keyCount * 6);
|
||||
|
|
Loading…
Reference in a new issue