Skip to content

Commit

Permalink
digsig: build dependency fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitry Kasatkin authored and James Morris committed Nov 21, 2011
1 parent 4e2c5b2 commit de35353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion security/integrity/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de35353

Please sign in to comment.