1
0
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:
Pavol Rusnak 2017-12-11 23:11:43 +01:00
parent ce3eaba925
commit 20a1326ebb
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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");
} }