From: Dmitry Kasatkin Date: Tue, 17 Jan 2012 15:12:04 +0000 (+0200) Subject: lib: digital signature dependency fix X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~15693^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=be440ec77325d02ad5e43676eb8d868426d35cd5;p=mirror_ubuntu-artful-kernel.git lib: digital signature dependency fix 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 Signed-off-by: Dmitry Kasatkin Signed-off-by: James Morris --- diff --git a/lib/Kconfig b/lib/Kconfig index 854735d96dc3..dbaf19ea84e8 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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.