emrtd: Code cleanup on emrtd_bump_ssc

This commit is contained in:
Ave 2020-12-18 04:42:09 +03:00
parent cd21765acc
commit 69a124762a

View file

@ -331,11 +331,11 @@ static void emrtd_bump_ssc(uint8_t *ssc) {
if ((*(ssc + i)) == 0xFF) {
// Set anything already FF to 0, we'll do + 1 on num to left anyways
(*(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;
}
}