Commit de353533 authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by James Morris

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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 4e2c5b28
...@@ -295,7 +295,7 @@ config MPILIB_EXTRA ...@@ -295,7 +295,7 @@ config MPILIB_EXTRA
config DIGSIG config DIGSIG
tristate "In-kernel signature checker" tristate "In-kernel signature checker"
depends on CRYPTO depends on KEYS
select MPILIB select MPILIB
help help
Digital signature verification. Currently only RSA is supported. Digital signature verification. Currently only RSA is supported.
......
...@@ -5,7 +5,7 @@ config INTEGRITY ...@@ -5,7 +5,7 @@ config INTEGRITY
config INTEGRITY_DIGSIG config INTEGRITY_DIGSIG
boolean "Digital signature verification using multiple keyrings" boolean "Digital signature verification using multiple keyrings"
depends on INTEGRITY depends on INTEGRITY && KEYS
default n default n
select DIGSIG select DIGSIG
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment