[PATCH 1/1] lib/rsa: don't use NULL as key_id

Tom Rini trini at konsulko.com
Wed Sep 15 00:44:26 CEST 2021


On Sat, Aug 28, 2021 at 12:13:05PM +0200, Heinrich Schuchardt wrote:

> If keydir is not provided but name is we want to use name as key_id.
> 
> But with the current coding name is only used on its own if it is NULL
> and keydir is provided which never occurs.
> 
> Fixes: 824ee745fbca ("lib/rsa: Use the 'keyfile' argument from mkimage")
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210914/5b72f6d0/attachment.sig>


More information about the U-Boot mailing list