diff options
Diffstat (limited to 'sbin/isakmpd/sysdep/netbsd/sysdep.c')
-rw-r--r-- | sbin/isakmpd/sysdep/netbsd/sysdep.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sbin/isakmpd/sysdep/netbsd/sysdep.c b/sbin/isakmpd/sysdep/netbsd/sysdep.c index 0c97976695c..8ac058ffc5a 100644 --- a/sbin/isakmpd/sysdep/netbsd/sysdep.c +++ b/sbin/isakmpd/sysdep/netbsd/sysdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysdep.c,v 1.5 2001/06/29 18:45:28 ho Exp $ */ +/* $OpenBSD: sysdep.c,v 1.6 2001/06/29 19:08:12 ho Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -109,8 +109,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) { @@ -118,8 +117,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. */ |