Skip to content

Commit

Permalink
Kconfig: Drop duplicate 'select SHA512' instances
Browse files Browse the repository at this point in the history
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: e60e449 ("lib: Drop SHA512_ALGO in lieu of SHA512")
Reported-by: Andreas Schwab <[email protected]>
Reviewed-by: Alexandru Gagniuc <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed Sep 9, 2021
1 parent 4412fd8 commit 465bff8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/crypt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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$".
Expand Down
1 change: 0 additions & 1 deletion lib/efi_loader/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ config EFI_TCG2_PROTOCOL
depends on TPM_V2
select SHA1
select SHA256
select SHA512
select SHA384
select SHA512
select HASH
Expand Down

0 comments on commit 465bff8

Please sign in to comment.