summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/openbsd/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd/sysdep.c')
-rw-r--r--sbin/isakmpd/sysdep/openbsd/sysdep.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd/sysdep.c b/sbin/isakmpd/sysdep/openbsd/sysdep.c
index bfc3890389a..345f0580301 100644
--- a/sbin/isakmpd/sysdep/openbsd/sysdep.c
+++ b/sbin/isakmpd/sysdep/openbsd/sysdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep.c,v 1.10 2001/06/29 18:45:27 ho Exp $ */
+/* $OpenBSD: sysdep.c,v 1.11 2001/06/29 19:08:12 ho Exp $ */
/* $EOM: sysdep.c,v 1.9 2000/12/04 04:46:35 angelos Exp $ */
/*
@@ -119,8 +119,7 @@ sysdep_connection_check (char *name)
*/
u_int8_t *
sysdep_ipsec_get_spi (size_t *sz, u_int8_t proto, struct sockaddr *src,
- int srclen, struct sockaddr *dst, int dstlen,
- u_int32_t seq)
+ struct sockaddr *dst, u_int32_t seq)
{
if (app_none)
{
@@ -128,8 +127,7 @@ sysdep_ipsec_get_spi (size_t *sz, u_int8_t proto, struct sockaddr *src,
/* XXX should be random instead I think. */
return strdup ("\x12\x34\x56\x78");
}
- return KEY_API (get_spi) (sz, proto, src, src->sa_len, dst, dst->sa_len,
- seq);
+ return KEY_API (get_spi) (sz, proto, src, dst, seq);
}
/* Force communication on socket FD to go in the clear. */