aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>2011-11-21 10:31:15 -0500
committerJames Morris <jmorris@namei.org>2011-11-21 18:02:32 -0500
commitde353533753e048b5c4658f0a42365937527ac45 (patch)
tree376ea9cb73de3691d4f907ad98f13f838742395e
parent4e2c5b28f8086cd2f678ade0ea21d8c3cc058c53 (diff)
digsig: build dependency fix
Fix build errors by adding Kconfig dependency on KEYS. CRYPTO dependency removed. CC security/integrity/digsig.o security/integrity/digsig.c: In function ?integrity_digsig_verify?: security/integrity/digsig.c:38:4: error: implicit declaration of function ?request_key? security/integrity/digsig.c:38:17: error: ?key_type_keyring? undeclared (first use in this function) security/integrity/digsig.c:38:17: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [security/integrity/digsig.o] Error 1 Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com> Signed-off-by: James Morris <jmorris@namei.org>
-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
295 295
296config DIGSIG 296config DIGSIG
297 tristate "In-kernel signature checker" 297 tristate "In-kernel signature checker"
298 depends on CRYPTO 298 depends on KEYS
299 select MPILIB 299 select MPILIB
300 help 300 help
301 Digital signature verification. Currently only RSA is supported. 301 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
5 5
6config INTEGRITY_DIGSIG 6config INTEGRITY_DIGSIG
7 boolean "Digital signature verification using multiple keyrings" 7 boolean "Digital signature verification using multiple keyrings"
8 depends on INTEGRITY 8 depends on INTEGRITY && KEYS
9 default n 9 default n
10 select DIGSIG 10 select DIGSIG
11 help 11 help