aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.ibm.com>2019-06-27 23:19:27 -0300
committerMimi Zohar <zohar@linux.ibm.com>2019-08-05 18:40:20 -0400
commitcf38fed1e183dd2410f62d49ae635fe593082f0c (patch)
tree07cbbd3485b337390af1d3e8124cd3565c8ce9f4 /security/integrity
parentPKCS#7: Introduce pkcs7_get_digest() (diff)
downloadlinux-dev-cf38fed1e183dd2410f62d49ae635fe593082f0c.tar.xz
linux-dev-cf38fed1e183dd2410f62d49ae635fe593082f0c.zip
integrity: Select CONFIG_KEYS instead of depending on it
This avoids a dependency cycle in soon-to-be-introduced CONFIG_IMA_APPRAISE_MODSIG: it will select CONFIG_MODULE_SIG_FORMAT which in turn selects CONFIG_KEYS. Kconfig then complains that CONFIG_INTEGRITY_SIGNATURE depends on CONFIG_KEYS. Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity')
-rw-r--r--security/integrity/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/Kconfig b/security/integrity/Kconfig
index c352532b8f84..0bae6adb63a9 100644
--- a/security/integrity/Kconfig
+++ b/security/integrity/Kconfig
@@ -18,8 +18,8 @@ if INTEGRITY
config INTEGRITY_SIGNATURE
bool "Digital signature verification using multiple keyrings"
- depends on KEYS
default n
+ select KEYS
select SIGNATURE
help
This option enables digital signature verification support