summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-07-11 18:59:45 +0300
committerDavid Howells <dhowells@redhat.com>2014-07-17 21:01:28 +0100
commit0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc (patch)
tree236ceb14edf2bb90335bcd12c6a150858e622eda /lib/Kconfig
parent26c18217330b66f28e52debf5cb66d3374e0fd2d (diff)
downloadlinux-0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc.tar.gz
linux-0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc.tar.bz2
linux-0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc.zip
digsig: make crypto builtin if digsig selected as builtin
When SIGNATURE=y but depends on CRYPTO=m, it selects MPILIB as module producing build break. This patch makes digsig to select crypto for correcting dependency. Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 334f7722a999..a8a775730c09 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -451,7 +451,8 @@ config MPILIB
config SIGNATURE
tristate
- depends on KEYS && CRYPTO
+ depends on KEYS
+ select CRYPTO
select CRYPTO_SHA1
select MPILIB
help