mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Merge pull request #1230 from VortixDev/VortixDev-patch-mfpauth
Fix mfpauth error printout
This commit is contained in:
commit
1d6b4b2722
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ int MifareAuth4(mf4Session_t *mf4session, uint8_t *keyn, uint8_t *key, bool acti
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data[0] != 0x90) {
|
if (data[0] != 0x90) {
|
||||||
if (!silentMode) PrintAndLogEx(ERR, "Card response error: %02x", data[2]);
|
if (!silentMode) PrintAndLogEx(ERR, "Card response error: %02x %s", data[0], mfpGetErrorDescription(data[0]));
|
||||||
if (dropFieldIfError) DropField();
|
if (dropFieldIfError) DropField();
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue