mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
storage: fix typo
This commit is contained in:
parent
ce3eaba925
commit
20a1326ebb
@ -78,7 +78,7 @@ static secbool pin_fails_increase(uint32_t ofs)
|
|||||||
|
|
||||||
static void pin_fails_check_max(uint32_t ctr)
|
static void pin_fails_check_max(uint32_t ctr)
|
||||||
{
|
{
|
||||||
if (~ctr >= 1 << PIN_MAX_TRIES) {
|
if (~ctr >= (1 << PIN_MAX_TRIES)) {
|
||||||
norcow_wipe();
|
norcow_wipe();
|
||||||
ensure(secfalse, "pin_fails_check_max");
|
ensure(secfalse, "pin_fails_check_max");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user