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

Borislav Petkov
2007-12-13T17:48:24Z

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@yahoo.de>

--- 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.