]> git.baikalelectronics.ru Git - kernel.git/commit
certs: move the 'depends on' to the choice of module signing keys
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 1 Oct 2021 04:01:26 +0000 (13:01 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 11 Dec 2021 13:09:14 +0000 (22:09 +0900)
commita59642d14366ae7947472414d548c7f3a77402f5
tree524786bb810b4f080995ccf5bffeee58eeb1c1bf
parent6d1282687e9682f658b4063d74df56d680d84eb2
certs: move the 'depends on' to the choice of module signing keys

When the condition "MODULE_SIG || (IMA_APPRAISE_MODSIG && MODULES)"
is unmet, you cannot choose anything in the choice, but the choice
menu is still displayed in the menuconfig etc.

Move the 'depends on' to the choice to hide the meaningless menu.

Also delete the redundant 'default'. In a choice, the first entry is
the default.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
certs/Kconfig