digsig: make crypto builtin if digsig selected as builtin
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Fri, 11 Jul 2014 15:59:45 +0000 (18:59 +0300)
committerDavid Howells <dhowells@redhat.com>
Thu, 17 Jul 2014 20:01:28 +0000 (21:01 +0100)
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>
lib/Kconfig

index 334f772..a8a7757 100644 (file)
@@ -451,7 +451,8 @@ config MPILIB
 
 config SIGNATURE
        tristate
-       depends on KEYS && CRYPTO
+       depends on KEYS
+       select CRYPTO
        select CRYPTO_SHA1
        select MPILIB
        help