mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6.25 patch] CRYPTO_NULL must select CRYPTO_BLKCIPHER
@ 2008-02-17 20:09 Adrian Bunk
  2008-02-18  0:53 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-17 20:09 UTC (permalink / raw)
  To: herbert, davem; +Cc: linux-crypto, linux-kernel

This patch fixes the following build error caused by commit 
3631c650c495d61b1dabf32eb26b46873636e918:

<--  snip  -->

...
  LD      .tmp_vmlinux1
crypto/built-in.o: In function `skcipher_null_crypt':
crypto_null.c:(.text+0x3d14): undefined reference to `blkcipher_walk_virt'
crypto_null.c:(.text+0x3d14): relocation truncated to fit: R_MIPS_26 against `blkcipher_walk_virt'
crypto/built-in.o: In function `$L32':
crypto_null.c:(.text+0x3d54): undefined reference to `blkcipher_walk_done'
crypto_null.c:(.text+0x3d54): relocation truncated to fit: R_MIPS_26 against `blkcipher_walk_done'
crypto/built-in.o:(.data+0x2e8): undefined reference to `crypto_blkcipher_type'
make[1]: *** [.tmp_vmlinux1] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
0f6b025864c8536538da5a6b2b68e73dba1a2ab8 diff --git a/crypto/Kconfig b/crypto/Kconfig
index c3166a1..b12a3ee 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -74,6 +74,7 @@ config CRYPTO_XCBC
 config CRYPTO_NULL
 	tristate "Null algorithms"
 	select CRYPTO_ALGAPI
+	select CRYPTO_BLKCIPHER
 	help
 	  These are 'Null' algorithms, used by IPsec, which do nothing.
 


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

* Re: [2.6.25 patch] CRYPTO_NULL must select CRYPTO_BLKCIPHER
  2008-02-17 20:09 [2.6.25 patch] CRYPTO_NULL must select CRYPTO_BLKCIPHER Adrian Bunk
@ 2008-02-18  0:53 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2008-02-18  0:53 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: davem, linux-crypto, linux-kernel

On Sun, Feb 17, 2008 at 10:09:45PM +0200, Adrian Bunk wrote:
> This patch fixes the following build error caused by commit 
> 3631c650c495d61b1dabf32eb26b46873636e918:

Patch applied.  Thanks Adrian!
-- 
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-18  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17 20:09 [2.6.25 patch] CRYPTO_NULL must select CRYPTO_BLKCIPHER Adrian Bunk
2008-02-18  0:53 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®