linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* net/ipv4/ipcomp.c in 2.6.0-test2
@ 2003-08-02 13:28 Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2003-08-02 13:28 UTC (permalink / raw)
  To: linux-net; +Cc: Linux Kernel Development


Looks like CONFIG_INET_IPCOMP=y needs CONFIG_CRYPTO_HMAC=y

|   CC      net/ipv4/ipcomp.o
| In file included from net/ipv4/ipcomp.c:24:
| include/net/esp.h: In function `esp_hmac_digest':
| include/net/esp.h:48: warning: implicit declaration of function `crypto_hmac_init'
| include/net/esp.h:49: `crypto_hmac_update' undeclared (first use in this function)
| include/net/esp.h:49: (Each undeclared identifier is reported only once
| include/net/esp.h:49: for each function it appears in.)
| include/net/esp.h:50: warning: implicit declaration of function `crypto_hmac_final'
| make[2]: *** [net/ipv4/ipcomp.o] Error 1
| make[1]: *** [net/ipv4] Error 2
| make: *** [net] Error 2
| tux$ grep hmac .config
| # CONFIG_CRYPTO_HMAC is not set
| tux$ grep ipcomp .config
| CONFIG_INET_IPCOMP=y
| tux$ 

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

* Re: net/ipv4/ipcomp.c in 2.6.0-test2
  2003-08-03 11:17 ` Geert Uytterhoeven
@ 2003-08-03 21:39   ` David S. Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2003-08-03 21:39 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: herbert, linux-net, linux-kernel

On Sun, 3 Aug 2003 13:17:03 +0200 (MEST)
Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> On Sun, 3 Aug 2003, Herbert Xu wrote:
> > Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > > Looks like CONFIG_INET_IPCOMP=y needs CONFIG_CRYPTO_HMAC=y
> > 
> > Does it help if you remove the inclusion of net/esp.h from ipcomp.c?
> 
> Yes it does.

Applied, thanks guys.

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

* Re: net/ipv4/ipcomp.c in 2.6.0-test2
       [not found] <E19j8Ln-0002rE-00@gondolin.me.apana.org.au>
@ 2003-08-03 11:17 ` Geert Uytterhoeven
  2003-08-03 21:39   ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2003-08-03 11:17 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-net, Linux Kernel Development

On Sun, 3 Aug 2003, Herbert Xu wrote:
> Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > Looks like CONFIG_INET_IPCOMP=y needs CONFIG_CRYPTO_HMAC=y
> 
> Does it help if you remove the inclusion of net/esp.h from ipcomp.c?

Yes it does.

--- linux-2.6.0-test2/net/ipv4/ipcomp.c	Tue Jul 29 18:19:24 2003
+++ linux-m68k-2.6.0-test2/net/ipv4/ipcomp.c	Sun Aug  3 13:15:11 2003
@@ -21,7 +21,6 @@
 #include <net/ip.h>
 #include <net/xfrm.h>
 #include <net/icmp.h>
-#include <net/esp.h>
 #include <net/ipcomp.h>
 
 static int ipcomp_decompress(struct xfrm_state *x, struct sk_buff *skb)

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

end of thread, other threads:[~2003-08-03 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02 13:28 net/ipv4/ipcomp.c in 2.6.0-test2 Geert Uytterhoeven
     [not found] <E19j8Ln-0002rE-00@gondolin.me.apana.org.au>
2003-08-03 11:17 ` Geert Uytterhoeven
2003-08-03 21:39   ` David S. Miller

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