Fix logic

This commit is contained in:
Self Not Found authored and GitHub committed 2023-04-16 09:51:07 +08:00
1 parent f1963cfa82
commit ba3d5c32ae
1 file changed
+1 -1
+1 -1
View File
@@ -1024,7 +1024,7 @@ static int MFPKeyCheck(uint8_t startSector, uint8_t endSector, uint8_t startKeyA
for (int retry = 0; retry < 4; retry++) {
res = MifareAuth4(NULL, keyn, keyList[i], selectCard, true, false, false, true);
if (res == PM3_SUCCESS || PM3_EWRONGANSWER)
if (res == PM3_SUCCESS || res == PM3_EWRONGANSWER)
break;
if (verbose)