Skip to content

Commit

Permalink
lib: digital signature dependency fix
Browse files Browse the repository at this point in the history
Randy Dunlap reported build break:

ERROR: "crypto_alloc_shash" [lib/digsig.ko] undefined!
ERROR: "crypto_shash_final" [lib/digsig.ko] undefined!
ERROR: "crypto_shash_update" [lib/digsig.ko] undefined!
ERROR: "crypto_destroy_tfm" [lib/digsig.ko] undefined!

Added CRYPTO dependency and selected SHA1 algorithm.

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 Jan 17, 2012
1 parent 5e8898e commit be440ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ config MPILIB_EXTRA

config SIGNATURE
tristate "In-kernel signature checker"
depends on KEYS
depends on KEYS && CRYPTO
select CRYPTO_SHA1
select MPILIB
help
Digital signature verification. Currently only RSA is supported.
Expand Down

0 comments on commit be440ec

Please sign in to comment.