diff options
author | Tom Rini <trini@konsulko.com> | 2024-11-14 10:49:30 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 10:49:51 -0600 |
commit | f6ee67126492f07d400d677e82467de3f8ad2bda (patch) | |
tree | cbf2489ee32bc8132d68621ba3469cdfd675e2f2 /test/py/tests/test_source.py | |
parent | a45d823c0223947848de7031e449e1873032072b (diff) | |
parent | 7dfafcd65ef3dc0307a7752ac5a263eb2af56862 (diff) |
Merge patch series "cmd: hash: correct parameter count check"
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says:
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.
Fix the parameter check.
Provide a unit test.
Link: https://lore.kernel.org/r/20241102100836.103005-1-heinrich.schuchardt@canonical.com
Diffstat (limited to 'test/py/tests/test_source.py')
0 files changed, 0 insertions, 0 deletions