mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
T55xx_ChkPwds: fix always false cond
This commit is contained in:
parent
61905d2b19
commit
4aeff95259
1 changed files with 1 additions and 1 deletions
|
@ -1596,7 +1596,7 @@ void T55xx_ChkPwds() {
|
||||||
|
|
||||||
pwdCount = counter[1] << 8 | counter[0];
|
pwdCount = counter[1] << 8 | counter[0];
|
||||||
|
|
||||||
if (pwdCount == 0 && pwdCount == 0xFFFF)
|
if (pwdCount == 0 || pwdCount == 0xFFFF)
|
||||||
goto OUT;
|
goto OUT;
|
||||||
|
|
||||||
isok = Flash_ReadData(DEFAULT_T55XX_KEYS_OFFSET + 2, pwds, pwdCount * 4);
|
isok = Flash_ReadData(DEFAULT_T55XX_KEYS_OFFSET + 2, pwds, pwdCount * 4);
|
||||||
|
|
Loading…
Reference in a new issue