storage: fix typo

pull/25/head
Pavol Rusnak 7 years ago
parent ce3eaba925
commit 20a1326ebb
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -78,7 +78,7 @@ static secbool pin_fails_increase(uint32_t ofs)
static void pin_fails_check_max(uint32_t ctr)
{
if (~ctr >= 1 << PIN_MAX_TRIES) {
if (~ctr >= (1 << PIN_MAX_TRIES)) {
norcow_wipe();
ensure(secfalse, "pin_fails_check_max");
}

Loading…
Cancel
Save