diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-01-17 10:12:04 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2012-01-17 18:46:23 -0500 |
commit | be440ec77325d02ad5e43676eb8d868426d35cd5 (patch) | |
tree | 8d8c47893a8516344c8c48256b7ee6c9a565d199 /lib | |
parent | 5e8898e97a5db4125d944070922164d1d09a2689 (diff) |
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 <rdunlap@xenotime.net>
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
304 | 304 | ||
305 | config SIGNATURE | 305 | config SIGNATURE |
306 | tristate "In-kernel signature checker" | 306 | tristate "In-kernel signature checker" |
307 | depends on KEYS | 307 | depends on KEYS && CRYPTO |
308 | select CRYPTO_SHA1 | ||
308 | select MPILIB | 309 | select MPILIB |
309 | help | 310 | help |
310 | Digital signature verification. Currently only RSA is supported. | 311 | Digital signature verification. Currently only RSA is supported. |