]> err.no Git - linux-2.6/commitdiff
[CRYPTO] authenc: Select HASH in Kconfig
authorBorislav Petkov <bbpetkov@yahoo.de>
Fri, 14 Dec 2007 08:43:32 +0000 (16:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:39 +0000 (08:16 +1100)
i get here:

----
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  Building modules, stage 2.
  MODPOST 226 modules
ERROR: "crypto_hash_type" [crypto/authenc.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
---

which fails because crypto_hash_type is declared in crypto/hash.c. You might wanna
fix it like so:

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig

index 4fd14e4efed2e6844f5ae8699481c1d60ca69920..1eb4bcdb344fb30937dc09acc35a8778be395b9e 100644 (file)
@@ -532,6 +532,7 @@ config CRYPTO_AUTHENC
        tristate "Authenc support"
        select CRYPTO_AEAD
        select CRYPTO_MANAGER
+       select CRYPTO_HASH
        help
          Authenc: Combined mode wrapper for IPsec.
          This is required for IPSec.