fix match iso id and iso file id

This commit is contained in:
merlokk committed 2021-08-04 18:06:23 +03:00
1 parent a6e39a5ff1
commit be9093db63
1 file changed
+1 -2
+1 -2
View File
@@ -1822,8 +1822,7 @@ int DesfireFillFileList(DesfireContext *dctx, FileListS FileList, size_t *filesc
isoindx++;
}
}
if (isoindx > 0)
isoindx--;
if (isoindx * 2 != buflen)
PrintAndLogEx(WARNING, "Wrong ISO ID list length. must be %zu but %zu", buflen, isoindx * 2);
} else {