Skip to content
Commit 67acad3d authored by Simon Glass's avatar Simon Glass
Browse files

image: Check hash-nodes when checking configurations



It is currently possible to use a different configuration's signature and
thus bypass the configuration check. Make sure that the configuration node
that was hashed matches the one being checked, to catch this problem.

Also add a proper function comment to fit_config_check_sig() and make it
static.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 1b090032
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment