chg: strange behavior when running checks with hardnested

This commit is contained in:
iceman1001 2017-12-18 11:29:34 +01:00
commit e6f0672015
5 changed files with 6 additions and 4 deletions

View file

@ -1156,6 +1156,7 @@ int CmdHF14AMfNestedHard(const char *Cmd) {
uint64_t foundkey = 0;
int16_t isOK = mfnestedhard(blockNo, keyType, key, trgBlockNo, trgKeyType, know_target_key ? trgkey : NULL, nonce_file_read, nonce_file_write, slow, tests, &foundkey);
DropField();
if (isOK) {
switch (isOK) {
case 1 : PrintAndLog("Error: No response from Proxmark.\n"); break;
@ -1164,7 +1165,6 @@ int CmdHF14AMfNestedHard(const char *Cmd) {
}
return 2;
}
return 0;
}