2008-02-09 19:53:59

by Frederik Deweerdt

[permalink] [raw]
Subject: [patch] crypto test build failure

Hello Herbert,

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.

Regards,
Frederik

Signed-off-by: Frederik Deweerdt <[email protected]>

diff --git a/crypto/Kconfig b/crypto/Kconfig
index c3166a1..d0287ce 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -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.


2008-02-15 11:20:48

by Herbert Xu

[permalink] [raw]
Subject: Re: [patch] crypto test build failure

On Sat, Feb 09, 2008 at 08:52:32PM +0100, Frederik Deweerdt wrote:
> Hello Herbert,
>
> 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.

Patch applied. Thanks a lot!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt