mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
FIX: 'hf mf chk' - chkkeys param error fix #1
This commit is contained in:
+1
-1
@@ -1782,7 +1782,7 @@ int CmdHF14AMfChk(const char *Cmd) {
|
||||
|
||||
|
||||
// check keys.
|
||||
for (trgKeyType = keyType; trgKeyType < 2; (keyType==2) ? (++trgKeyType) : (trgKeyType=2) ) {
|
||||
for (trgKeyType = (keyType==2)?0:keyType; trgKeyType < 2; (keyType==2) ? (++trgKeyType) : (trgKeyType=2) ) {
|
||||
|
||||
int b = blockNo;
|
||||
for (int i = 0; i < SectorsCnt; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user