1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-25 20:05:22 +01:00
Files
u-boot-megous/test/cmd
Tom Rini f6ee671264 Merge patch series "cmd: hash: correct parameter count check"
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says:

Since commit 348ea87850 ("cmd: hash: fix param count check") the hash
command cannot be used without the optional variable name parameter if
CONFIG_HASH_VERIFY=y. 'hash sha1 $loadaddr $filesize' returns
CMD_RET_USAGE.

The minimum number of arguments is four no matter if verification is
enabled or not.

Fix the parameter check.

Provide a unit test.

Link: https://lore.kernel.org/r/20241102100836.103005-1-heinrich.schuchardt@canonical.com
2024-11-14 10:49:51 -06:00
..
2024-10-18 14:10:21 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-10-18 14:10:21 -06:00
2024-11-14 10:49:24 -06:00
2024-09-18 13:01:00 -06:00
2024-10-25 14:22:24 -06:00
2024-10-18 14:10:21 -06:00
2024-08-26 18:51:49 -06:00