summaryrefslogtreecommitdiff
path: root/security/ipsec-tools/patches
diff options
context:
space:
mode:
Diffstat (limited to 'security/ipsec-tools/patches')
-rw-r--r--security/ipsec-tools/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/ipsec-tools/patches/patch-aa b/security/ipsec-tools/patches/patch-aa
new file mode 100644
index 00000000000..15274e19535
--- /dev/null
+++ b/security/ipsec-tools/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2005/08/07 22:21:05 tron Exp $
+
+--- src/racoon/privsep.c.orig 2005-06-04 23:08:15.000000000 +0100
++++ src/racoon/privsep.c 2005-08-07 22:35:41.000000000 +0100
+@@ -912,8 +912,8 @@
+ {
+ if ((port < 0) || (port >= isakmp_cfg_config.pool_size)) {
+ plog(LLV_ERROR, LOCATION, NULL,
+- "privsep: port %d outsied of allowed range [0,%d]\n",
+- port, isakmp_cfg_config.pool_size - 1);
++ "privsep: port %d outside of allowed range [0,%d]\n",
++ port, (int)isakmp_cfg_config.pool_size - 1);
+ return -1;
+ }
+