LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] crypto test build failure
@ 2008-02-09 19:52 Frederik Deweerdt
  2008-02-15 11:19 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Frederik Deweerdt @ 2008-02-09 19:52 UTC (permalink / raw)
  To: herbert; +Cc: linux-kernel

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 <frederik.deweerdt@gmail.com>

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.
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] crypto test build failure
  2008-02-09 19:52 [patch] crypto test build failure Frederik Deweerdt
@ 2008-02-15 11:19 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2008-02-15 11:19 UTC (permalink / raw)
  To: Frederik Deweerdt; +Cc: linux-kernel, Linux Crypto Mailing List

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~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-15 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-09 19:52 [patch] crypto test build failure Frederik Deweerdt
2008-02-15 11:19 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).