mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
detect_classic_auth: silent error
This commit is contained in:
@@ -1449,12 +1449,8 @@ int detect_classic_auth(uint8_t key_type) {
|
||||
return PM3_ETIMEOUT;
|
||||
}
|
||||
|
||||
// check respA
|
||||
if (respA.oldarg[0] != 4) {
|
||||
PrintAndLogEx(ERR, "PRNG data error: Wrong length: %"PRIu64, respA.oldarg[0]);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
// check respA for a nonce
|
||||
return respA.oldarg[0] == 4;
|
||||
}
|
||||
|
||||
/* Detect Mifare Classic NACK bug
|
||||
|
||||
Reference in New Issue
Block a user