Skip to content
Commit 15c1467f authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Return error from boot_find_key instead of asserting



When the hash key length parameter is invalid (bigger than allowed) just
return an error for the caller routines; this will work like a not found
key and allows the removal of assert() code in this module.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent c962135f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment