(was Re: 2.6.24-rc5-mm1) crypto/authenc.c select symbol in Kconfig

From: Borislav Petkov
Date: Thu Dec 13 2007 - 12:48:25 EST


On Thu, Dec 13, 2007 at 02:40:50AM -0800, Andrew Morton wrote:

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@xxxxxxxx>


--- crypto/Kconfig.orig 2007-12-13 18:44:19.000000000 +0100
+++ crypto/Kconfig 2007-12-13 18:39:00.000000000 +0100
@@ -553,6 +553,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.

--
Regards/Gruß,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/