mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-22 08:16:16 +08:00
emrtd: Code cleanup on emrtd_bump_ssc
This commit is contained in:
parent
cd21765acc
commit
69a124762a
|
@ -331,11 +331,11 @@ static void emrtd_bump_ssc(uint8_t *ssc) {
|
||||||
if ((*(ssc + i)) == 0xFF) {
|
if ((*(ssc + i)) == 0xFF) {
|
||||||
// Set anything already FF to 0, we'll do + 1 on num to left anyways
|
// Set anything already FF to 0, we'll do + 1 on num to left anyways
|
||||||
(*(ssc + i)) = 0;
|
(*(ssc + i)) = 0;
|
||||||
continue;
|
} else {
|
||||||
|
(*(ssc + i)) += 1;
|
||||||
|
PrintAndLogEx(DEBUG, "ssc-a: %s", sprint_hex_inrow(ssc, 8));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
(*(ssc + i)) += 1;
|
|
||||||
PrintAndLogEx(DEBUG, "ssc-a: %s", sprint_hex_inrow(ssc, 8));
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue