summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-07-11 17:59:45 +0200
committerDavid Howells <dhowells@redhat.com>2014-07-17 22:01:28 +0200
commit0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc (patch)
tree236ceb14edf2bb90335bcd12c6a150858e622eda /lib/Kconfig
parentRSA: Don't select non-existent symbol (diff)
downloadlinux-0d1f64f60b4c50a8c604010ad3eef5cdfe9926bc.tar.xz
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