[CRYPTO] tcrypt: Add missing Kconfig dependency on BLKCIPHER
authorFrederik Deweerdt <frederik.deweerdt@gmail.com>
Fri, 15 Feb 2008 11:19:33 +0000 (19:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Feb 2008 11:19:33 +0000 (19:19 +0800)
Building latest git fails with the following error:
ERROR: "crypto_alloc_ablkcipher" [crypto/tcrypt.ko] undefined!
This appears to happen because CONFIG_CRYPTO_TEST is set while
CONFIG_CRYPTO_BLKCIPHER is not.
The following patch fixes the problem for me.

Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig

index c3166a1a5bb6da630f7861581b96a6a5f5a19073..d0287ce56daf3b7e38c650bd2e8a514031d3df86 100644 (file)
@@ -567,6 +567,7 @@ config CRYPTO_TEST
        depends on m
        select CRYPTO_ALGAPI
        select CRYPTO_AEAD
+       select CRYPTO_BLKCIPHER
        help
          Quick & dirty crypto test module.