mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
fix drop_field handling
This commit is contained in:
parent
7d7d514ca6
commit
24683e5381
2 changed files with 6 additions and 9 deletions
|
@ -910,10 +910,10 @@ int MifareMultisectorChk(uint8_t *keys, uint8_t keyCount, uint8_t SectorCount, u
|
|||
int keyAB = keyType;
|
||||
do {
|
||||
res = MifareChkBlockKeys(keys, keyCount, FirstBlockOfSector(sc), keyAB & 0x01, auth_timeout, debugLevel);
|
||||
if (res < 0){
|
||||
if (res < 0) {
|
||||
return res;
|
||||
}
|
||||
if (res > 0){
|
||||
if (res > 0) {
|
||||
(*keyIndex)[keyAB & 0x01][sc] = res;
|
||||
}
|
||||
} while(--keyAB > 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue