summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2005-02-10 13:01:02 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2005-02-10 13:01:02 +0000
commit0b5159327330a995b86da6d0aa58e51fae0b16ed (patch)
tree4bb7fe4a48f2072040fb046324e93919ea5621bd /sbin/isakmpd
parent5538aad5ce8be1515b9f08e298987419f4465d77 (diff)
ignore_policy should be ifdef USE_POLICY. hshoexer@ ok
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/ike_quick_mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c
index 75bec874d5e..80c0a575b57 100644
--- a/sbin/isakmpd/ike_quick_mode.c
+++ b/sbin/isakmpd/ike_quick_mode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_quick_mode.c,v 1.87 2004/09/17 13:53:08 ho Exp $ */
+/* $OpenBSD: ike_quick_mode.c,v 1.88 2005/02/10 13:01:01 ho Exp $ */
/* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */
/*
@@ -1740,7 +1740,7 @@ next_sa:
goto cleanup;
}
} else if (
-#ifdef USE_X509
+#if defined (USE_X509) && defined (USE_POLICY)
ignore_policy ||
#endif
strncmp("yes", conf_get_str("General", "Use-Keynote"), 3)) {