mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Remove incorrect AID validation
This commit is contained in:
parent
6d88224a12
commit
69049a6621
2 changed files with 6 additions and 37 deletions
|
@ -441,14 +441,6 @@ int mfdes_kdf_input_gallagher(uint8_t *uid, uint8_t uidLen, uint8_t keyNo, uint3
|
|||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
// Verify the AppID is a valid Gallagher AppID
|
||||
if ((aid & 0xF0FFFF) != 0x2081F4) {
|
||||
if (g_debugMode) {
|
||||
PrintAndLogEx(WARNING, "Invalid Gallagher AID %06X", aid);
|
||||
}
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
int len = 0;
|
||||
// If the keyNo == 1, then omit the UID.
|
||||
if (keyNo != 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue