[PATCH v3 6/6] test: cmd: fix a typo in md5 test
Heiko Schocher
hs at nabladev.com
Tue Nov 18 05:30:42 CET 2025
In dm_test_cmd_hash_md5 accidentially sha256 hash
ist used. Use the correct md5 hash instead.
Signed-off-by: Heiko Schocher <hs at nabladev.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
Changes in v3:
Added Reviewed-by from Ilias
Changes in v2:
Added Reviewed-by tag from Heinrich
test/cmd/hash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cmd/hash.c b/test/cmd/hash.c
index ced18319f34..99895982f67 100644
--- a/test/cmd/hash.c
+++ b/test/cmd/hash.c
@@ -39,7 +39,7 @@ static int dm_test_cmd_hash_md5(struct unit_test_state *uts)
"d41d8cd98f00b204e9800998ecf8427e"));
if (!CONFIG_IS_ENABLED(HASH_VERIFY)) {
- ut_assert(run_command("hash -v sha256 $loadaddr 0 foo", 0));
+ ut_assert(run_command("hash -v md5 $loadaddr 0 foo", 0));
ut_assertok(ut_check_console_line(
uts, "hash - compute hash message digest"));
--
2.20.1
More information about the U-Boot
mailing list