crypto: af_alg - Add dependency on NET
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Nov 2010 14:56:03 +0000 (22:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Nov 2010 14:56:03 +0000 (22:56 +0800)
Add missing dependency on NET since we require sockets for our
interface.

Should really be a select but kconfig doesn't like that:

net/Kconfig:6:error: found recursive dependency: NET -> NETWORK_FILESYSTEMS -> AFS_FS -> AF_RXRPC -> CRYPTO -> CRYPTO_USER_API_HASH -> CRYPTO_USER_API -> NET

Reported-by: Zimny Lech <napohybelskurwysynom2010@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig

index 467491df3e3ae6ada58a992616526cfd72247a71..96b0e5542121b3c9a1c30b57fc91ed76c430c182 100644 (file)
@@ -848,6 +848,7 @@ config CRYPTO_USER_API
 
 config CRYPTO_USER_API_HASH
        tristate "User-space interface for hash algorithms"
+       depends on NET
        select CRYPTO_HASH
        select CRYPTO_USER_API
        help
@@ -856,6 +857,7 @@ config CRYPTO_USER_API_HASH
 
 config CRYPTO_USER_API_SKCIPHER
        tristate "User-space interface for symmetric key cipher algorithms"
+       depends on NET
        select CRYPTO_BLKCIPHER
        select CRYPTO_USER_API
        help