summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/ike_auth.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-11 10:50:10 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-11 10:50:10 +0000
commitbbbf292a68225de030d9d9ced38e0bce00decab0 (patch)
treef7e684e156fdfc2eb5b95a3af9934426faaef5a0 /sbin/isakmpd/ike_auth.c
parentf27a816ffce4d647f5f7bbfe796f9a81aaacb8de (diff)
make #ifdef around x509_generate_kn() consistent.
Diffstat (limited to 'sbin/isakmpd/ike_auth.c')
-rw-r--r--sbin/isakmpd/ike_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c
index df6d3f7c9ee..57aa61d90b0 100644
--- a/sbin/isakmpd/ike_auth.c
+++ b/sbin/isakmpd/ike_auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_auth.c,v 1.47 2001/06/07 04:48:21 angelos Exp $ */
+/* $OpenBSD: ike_auth.c,v 1.48 2001/06/11 10:50:09 itojun Exp $ */
/* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */
/*
@@ -639,9 +639,9 @@ rsa_sig_decode_hash (struct message *msg)
handler->id));
exchange->recv_cert = cert;
exchange->recv_certtype = handler->id;
-#if defined(USE_X509)
+#if defined(USE_POLICY)
x509_generate_kn (exchange->policy_id, cert);
-#endif /* USE_X509 */
+#endif /* USE_POLICY */
}
}
}