summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/openbsd/sysdep.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:06:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:06:26 +0000
commit2ee307bc61874da9da57c2e522b072b503efd457 (patch)
treeea474f533cd9acf54956c4271c233c5eae8e2957 /sbin/isakmpd/sysdep/openbsd/sysdep.c
parenta26db2f0b98e349beb5eab2b74a71922172a45d5 (diff)
app.c
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd/sysdep.c')
-rw-r--r--sbin/isakmpd/sysdep/openbsd/sysdep.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd/sysdep.c b/sbin/isakmpd/sysdep/openbsd/sysdep.c
index 195a41494a2..ff292606b2a 100644
--- a/sbin/isakmpd/sysdep/openbsd/sysdep.c
+++ b/sbin/isakmpd/sysdep/openbsd/sysdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep.c,v 1.29 2005/04/08 15:56:48 deraadt Exp $ */
+/* $OpenBSD: sysdep.c,v 1.30 2005/04/08 16:06:25 deraadt Exp $ */
/* $EOM: sysdep.c,v 1.9 2000/12/04 04:46:35 angelos Exp $ */
/*
@@ -55,8 +55,6 @@
#endif /* NEED_SYSDEP_APP */
#include "log.h"
-extern char *__progname;
-
/*
* An as strong as possible random number generator, reverting to a
* deterministic pseudo-random one if regrand is set.
@@ -79,19 +77,6 @@ sysdep_sa_len(struct sockaddr *sa)
/* As regress/ use this file I protect the sysdep_app_* stuff like this. */
#ifdef NEED_SYSDEP_APP
-/*
- * Prepare the application we negotiate SAs for (i.e. the IPsec stack)
- * for communication. We return a file descriptor useable to select(2) on.
- */
-int
-sysdep_app_open()
-{
-#ifdef USE_PRIVSEP
- return monitor_pf_key_v2_open();
-#else
- return KEY_API(open)();
-#endif
-}
/*
* When select(2) has noticed our application needs attendance, this is what