summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2002-03-17 21:50:59 +0000
committerangelos <angelos@openbsd.org>2002-03-17 21:50:59 +0000
commitc45bbdf39ce4b31e5a13f69f30c7b2a98c49f100 (patch)
tree2c7c2063d715f3add94586022a2797854d606bc9
parentMention isakmpd_sa file. (diff)
downloadwireguard-openbsd-c45bbdf39ce4b31e5a13f69f30c7b2a98c49f100.tar.xz
wireguard-openbsd-c45bbdf39ce4b31e5a13f69f30c7b2a98c49f100.zip
Move SA_FILE definition to sa.h.
-rw-r--r--sbin/isakmpd/sa.c5
-rw-r--r--sbin/isakmpd/sa.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c
index 0de4e33fdc2..294d10bc634 100644
--- a/sbin/isakmpd/sa.c
+++ b/sbin/isakmpd/sa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.c,v 1.53 2002/03/17 21:48:06 angelos Exp $ */
+/* $OpenBSD: sa.c,v 1.54 2002/03/17 21:50:59 angelos Exp $ */
/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */
/*
@@ -63,9 +63,6 @@
#include "ipsec.h"
#include "ipsec_num.h"
-/* Outfile for detailed SA information. */
-#define SA_FILE "/var/run/isakmpd_sa"
-
/* Initial number of bits from the cookies used as hash. */
#define INITIAL_BUCKET_BITS 6
diff --git a/sbin/isakmpd/sa.h b/sbin/isakmpd/sa.h
index a226896b476..627baf39031 100644
--- a/sbin/isakmpd/sa.h
+++ b/sbin/isakmpd/sa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.h,v 1.26 2002/03/17 21:48:06 angelos Exp $ */
+/* $OpenBSD: sa.h,v 1.27 2002/03/17 21:50:59 angelos Exp $ */
/* $EOM: sa.h,v 1.58 2000/10/10 12:39:01 provos Exp $ */
/*
@@ -205,6 +205,9 @@ struct sa {
/* This SA should always be actively renegotiated (with us as initiator). */
#define SA_FLAG_ACTIVE_ONLY 0x20
+/* Outfile for detailed SA information. */
+#define SA_FILE "/var/run/isakmpd_sa"
+
extern void proto_free (struct proto *proto);
extern int sa_add_transform (struct sa *, struct payload *, int,
struct proto **);