summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/message.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-04-08 23:15:27 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-04-08 23:15:27 +0000
commit9967edda194eb32d6402b621364e4f48c784e1a8 (patch)
tree702f75ac2519f01081ed76a0ee2cfc3052625bb8 /sbin/isakmpd/message.c
parentcb04993a6a5ad3e448426e96a948cdef66528031 (diff)
get rid of sysdep_sa_len
ok cloder@
Diffstat (limited to 'sbin/isakmpd/message.c')
-rw-r--r--sbin/isakmpd/message.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 746358b9d5e..fb34857e1dc 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.106 2005/04/08 20:55:21 deraadt Exp $ */
+/* $OpenBSD: message.c,v 1.107 2005/04/08 23:15:26 hshoexer Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -38,8 +38,6 @@
#include <stdlib.h>
#include <string.h>
-#include "sysdep.h"
-
#include "attribute.h"
#include "cert.h"
#include "constants.h"
@@ -1677,7 +1675,7 @@ message_send_delete(struct sa *sa)
struct sockaddr *dst;
sa->transport->vtbl->get_dst(sa->transport, &dst);
- isakmp_sa = sa_isakmp_lookup_by_peer(dst, sysdep_sa_len(dst));
+ isakmp_sa = sa_isakmp_lookup_by_peer(dst, SA_LEN(dst));
if (!isakmp_sa) {
/*
* XXX We ought to setup an ISAKMP SA with our peer here and