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 334f7722a999232aa46b706d8cda61b57c854708..a8a775730c09c27c4da8188cf84cc5e6c7608fe0 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