Files
u-boot/common
Alexandru Gagniuc 76c78a5481 common: fit-sig: Fix error message in fit_config_verify_sig()
In fit_config_verify_sig(), when no 'signature*' subnode exists in
the configuration node, the fdt_for_each_subnode() loop is a no-op.
Therefore, no error flags are set, and 'err_,sg' is not populated
with an error string. This is incorrect behavior.

Populate err_msg to indicate that no 'signature' is found, before
entering the loop. The first call to fit_image_verify_sig() will
override clear err_msg, or set it to a more specific message.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-01-27 17:03:16 -05:00
..
2020-05-18 18:36:55 -04:00
2020-11-19 09:45:49 -05:00
2021-01-16 14:49:09 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2021-01-22 16:17:52 -05:00
2020-06-12 13:14:07 -04:00
2021-01-15 14:38:00 -05:00
2020-05-18 21:19:18 -04:00
2020-10-22 09:54:53 -04:00