commit | 48806eed00bb3c778372da5d389e6d5530965f5b | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Aug 28 12:13:05 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 14 09:07:18 2021 -0400 |
tree | 5f157bfa9dc5bcb75ed152d07f28a044687434ac | |
parent | 80f05092c1271a25316cfd8f9d3d6783b8f58a71 [diff] |
lib/rsa: don't use NULL as key_id 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@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>