summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ike_quick_mode.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-09-17 13:53:09 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-09-17 13:53:09 +0000
commit9ac710592f01a51fa6bef3b6d2379114e69c5f6d (patch)
treea47c1b989231109a8a8925fc008ad23365b94d79 /sbin/isakmpd/ike_quick_mode.c
parent5a11a7e5931133122f23a6a9840be04d607ddf8d (diff)
Missing #ifdefs.
Diffstat (limited to 'sbin/isakmpd/ike_quick_mode.c')
-rw-r--r--sbin/isakmpd/ike_quick_mode.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c
index 363b8381a29..75bec874d5e 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.86 2004/08/14 13:29:50 hshoexer Exp $ */
+/* $OpenBSD: ike_quick_mode.c,v 1.87 2004/09/17 13:53:08 ho Exp $ */
/* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */
/*
@@ -1739,8 +1739,11 @@ next_sa:
"strdup (\"%s\") failed", name);
goto cleanup;
}
- } else if (ignore_policy || strncmp("yes", conf_get_str("General",
- "Use-Keynote"), 3)) {
+ } else if (
+#ifdef USE_X509
+ ignore_policy ||
+#endif
+ strncmp("yes", conf_get_str("General", "Use-Keynote"), 3)) {
log_print("responder_recv_HASH_SA_NONCE: peer proposed "
"invalid phase 2 IDs: %s",
(exchange->doi->decode_ids("initiator id %s, responder"