summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Kconfig2
-rw-r--r--security/integrity/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index c1a89185fe6b..5634e473ff6d 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -295,7 +295,7 @@ config MPILIB_EXTRA
config DIGSIG
tristate "In-kernel signature checker"
- depends on CRYPTO
+ depends on KEYS
select MPILIB
help
Digital signature verification. Currently only RSA is supported.
diff --git a/security/integrity/Kconfig b/security/integrity/Kconfig
index d87fa2a8fa3b..d384ea921482 100644
--- a/security/integrity/Kconfig
+++ b/security/integrity/Kconfig
@@ -5,7 +5,7 @@ config INTEGRITY
config INTEGRITY_DIGSIG
boolean "Digital signature verification using multiple keyrings"
- depends on INTEGRITY
+ depends on INTEGRITY && KEYS
default n
select DIGSIG
help