This commit is contained in:
iceman1001 2019-04-10 08:57:23 +02:00
parent 0a43c80dff
commit 84233a8f85

View file

@ -398,9 +398,9 @@ void GetKeySettings(uint8_t *aid) {
int numOfKeys; int numOfKeys;
isOK = resp.arg[0] & 0xff; isOK = resp.arg[0] & 0xff;
if (!isOK) { if (isOK == false) {
PrintAndLogEx(WARNING, " Can't read Application Master key version. Trying all keys"); PrintAndLogEx(WARNING, " Can't read Application Master key version. Trying all keys");
numOfKeys = MAX_NUM_KEYS; //numOfKeys = MAX_NUM_KEYS;
} else { } else {
numOfKeys = resp.d.asBytes[4]; numOfKeys = resp.d.asBytes[4];
PrintAndLogEx(NORMAL, ""); PrintAndLogEx(NORMAL, "");
@ -411,6 +411,7 @@ void GetKeySettings(uint8_t *aid) {
// LOOP over numOfKeys that we got before. // LOOP over numOfKeys that we got before.
// From 0x01 to numOfKeys. We already got 0x00. (AMK) // From 0x01 to numOfKeys. We already got 0x00. (AMK)
// TODO (iceman)
for (int i = 0x01; i <= 0x0f; ++i) { for (int i = 0x01; i <= 0x0f; ++i) {
} }