On 2026-09-22T12:36:21, Aristo Chen <[email protected]> wrote:
> include: image: drop the duplicate FIT_ALGO_PROP definition
>
> FIT_ALGO_PROP is defined once with the hash and signature node
> properties and a second time, with the same value, in the cipher node
> block added by commit 7298e422504e ("mkimage: fit: add support to
> encrypt image with aes"). The identical redefinition compiles silently,
> which is how it went unnoticed, but it suggests a separate cipher
> property where there is none: the 'algo' property name is shared by
> hash, signature and cipher nodes. Keep the first definition only.
>
> Signed-off-by: Aristo Chen <[email protected]>
>
> include/image.h | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to