summaryrefslogtreecommitdiff
path: root/security/isakmpd/patches/patch-am
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-10-10 12:56:18 +0000
committeragc <agc@pkgsrc.org>2003-10-10 12:56:18 +0000
commitd1cf13dbacf4d061c8894e6238db23e10918ba0a (patch)
tree2310cf23a3de4257c775f733fc9aebedfd7d393b /security/isakmpd/patches/patch-am
parent2c562cc1b8ec6e5e4c8a91542744c0e06ea5fea6 (diff)
downloadpkgsrc-d1cf13dbacf4d061c8894e6238db23e10918ba0a.tar.gz
Update to isakmpd version 20030903.
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.
Diffstat (limited to 'security/isakmpd/patches/patch-am')
-rw-r--r--security/isakmpd/patches/patch-am22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/isakmpd/patches/patch-am b/security/isakmpd/patches/patch-am
new file mode 100644
index 00000000000..821e5dd7c0a
--- /dev/null
+++ b/security/isakmpd/patches/patch-am
@@ -0,0 +1,22 @@
+$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);