binman: Correct the error message for a bad hash algorithm
authorSimon Glass <sjg@chromium.org>
Tue, 8 Feb 2022 17:59:44 +0000 (10:59 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit8db1f9958ff7dfc54ef673607d47694dd672dae7
tree09d342b28720857e65161e7747ac34b270394d37
parent730922205b107acb80e51ee3c9e2e244ba8968b8
binman: Correct the error message for a bad hash algorithm

This shows an internal type at present, rather than the algorithm name.
Fix it and update the test to catch this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/ftest.py
tools/binman/state.py