Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
bmax committed Apr 4, 2024
1 parent d350d8b commit 8da5635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/base/predata.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ int auth_superkey(const char *key)
int len = SHA256_BLOCK_SIZE > ROOT_SUPER_KEY_HASH_LEN ? ROOT_SUPER_KEY_HASH_LEN : SHA256_BLOCK_SIZE;
rc = lib_memcmp(root_superkey, hash, len);

if (!rc) reset_superkey(key);

return rc;
}

Expand Down

0 comments on commit 8da5635

Please sign in to comment.