summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/conf.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-11-15 14:58:39 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-11-15 14:58:39 +0000
commit8b07dccb7adfbe7c4389938b3faa7f76776f2535 (patch)
tree5600973c1d1ed7993537205a9ca8d80fcfddfed4 /sbin/isakmpd/conf.h
parent77500b5209faabc24efa36694f6a0ce1722c3e90 (diff)
Missing "Configuration" tag in a Phase-1 peer was not handled correctly,
pointed out by Aref Taidi. Replace this with a "Default-Phase-1-Configuration" that will be used if this tag is missing from the peer. Update manpage accordingly. niklas@ ok.
Diffstat (limited to 'sbin/isakmpd/conf.h')
-rw-r--r--sbin/isakmpd/conf.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/isakmpd/conf.h b/sbin/isakmpd/conf.h
index f8f693f0e22..8b368fb3e5d 100644
--- a/sbin/isakmpd/conf.h
+++ b/sbin/isakmpd/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.18 2002/11/14 16:13:27 ho Exp $ */
+/* $OpenBSD: conf.h,v 1.19 2002/11/15 14:58:38 ho Exp $ */
/* $EOM: conf.h,v 1.13 2000/09/18 00:01:47 ho Exp $ */
/*
@@ -66,6 +66,11 @@
#define CONF_DFLT_X509_CRL_DIR "/etc/isakmpd/crls/"
#define CONF_DFLT_KEYNOTE_CRED_DIR "/etc/isakmpd/keynote/"
+
+#define CONF_DFLT_TAG_PHASE1_CONFIG "Default-Phase-1-Configuration"
+#define CONF_DFLT_PHASE1_EXCH_TYPE "ID_PROT"
+#define CONF_DFLT_PHASE1_TRANSFORMS "3DES-SHA"
+
struct conf_list_node {
TAILQ_ENTRY (conf_list_node) link;
char *field;