]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: Drop duplicate 'select SHA512' instances
authorTom Rini <trini@konsulko.com>
Thu, 9 Sep 2021 14:57:34 +0000 (10:57 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 9 Sep 2021 15:11:33 +0000 (11:11 -0400)
When dropping SHA512_ALGO in general, we didn't catch some cases where
an option was selecting  both SHA512 and SHA512_ALGO and caused them to
select SHA512 twice.  Kconfig doesn't complain, but this is still wrong
and should be corrected.

Fixes: e60e44993120 ("lib: Drop SHA512_ALGO in lieu of SHA512")
Reported-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
lib/crypt/Kconfig
lib/efi_loader/Kconfig

index 6a5002964224d861d12497ea46802390b8361baf..a59d5c7d1d54ab1865c169d0eb823e3b7d9087cf 100644 (file)
@@ -20,7 +20,6 @@ config CRYPT_PW_SHA256
 config CRYPT_PW_SHA512
        bool "Provide sha512crypt"
        select SHA512
-       select SHA512
        help
          Enables support for the sha512crypt password-hashing algorithm.
          The prefix is "$6$".
index 08463251cdf1f7058027e0df1a78e9bfcda7e790..edd4ae29f1633bc45e7a2bf51e676c0f7b4384bd 100644 (file)
@@ -323,7 +323,6 @@ config EFI_TCG2_PROTOCOL
        depends on TPM_V2
        select SHA1
        select SHA256
-       select SHA512
        select SHA384
        select SHA512
        select HASH