diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-02 11:08:35 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 10:49:24 -0600 |
commit | 6831415e397a95c3220295a6a7d6a686359de35f (patch) | |
tree | 338b23ab1539282a935cf19e8ec73a00c42b2126 /test/py/tests/test_source.py | |
parent | 8e5e64d55de9ed97875a0c1b7f293a0286d64312 (diff) |
cmd: hash: correct parameter count check
Since commit 348ea878508d ("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.
Fixes: 348ea878508d ("cmd: hash: fix param count check")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Diffstat (limited to 'test/py/tests/test_source.py')
0 files changed, 0 insertions, 0 deletions