d1cf13dbac
No changelog available, but many bugs fixed, and these sources will compile with gcc-3.3.1 (well, after I tweaked them). With thanks to Christoph Badura for most of this work, I merely did the gcc-3.3.1 patching.
22 lines
721 B
Text
22 lines
721 B
Text
$NetBSD: patch-am,v 1.1 2003/10/10 12:56:18 agc Exp $
|
|
|
|
--- ike_auth.c 2003/10/04 22:30:32 1.1
|
|
+++ ike_auth.c 2003/10/04 22:35:39
|
|
@@ -349,7 +349,7 @@
|
|
{
|
|
case IPSEC_ID_IPV4_ADDR:
|
|
case IPSEC_ID_IPV6_ADDR:
|
|
- util_ntoa ((char **)&buf,
|
|
+ util_ntoa ((char **)(void *)&buf,
|
|
exchange->id_i[0] == IPSEC_ID_IPV4_ADDR
|
|
? AF_INET : AF_INET6,
|
|
exchange->id_i + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ);
|
|
@@ -1056,7 +1056,7 @@
|
|
{
|
|
case IPSEC_ID_IPV4_ADDR:
|
|
case IPSEC_ID_IPV6_ADDR:
|
|
- util_ntoa ((char **)&buf2,
|
|
+ util_ntoa ((char **)(void *)&buf2,
|
|
id[ISAKMP_ID_TYPE_OFF - ISAKMP_GEN_SZ] == IPSEC_ID_IPV4_ADDR
|
|
? AF_INET : AF_INET6,
|
|
id + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ);
|