diff options
author | 2001-06-11 10:50:09 +0000 | |
---|---|---|
committer | 2001-06-11 10:50:09 +0000 | |
commit | 84af6e67259ceae946b0a8982145a3b4eb39968c (patch) | |
tree | 3a6d72f674e457442aef7ee1cd8a419681d1e9f2 | |
parent | reset pointer to NULL after xfree(); report from solar@openwall.com (diff) | |
download | wireguard-openbsd-84af6e67259ceae946b0a8982145a3b4eb39968c.tar.xz wireguard-openbsd-84af6e67259ceae946b0a8982145a3b4eb39968c.zip |
make #ifdef around x509_generate_kn() consistent.
-rw-r--r-- | sbin/isakmpd/ike_auth.c | 6 |
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 */ } } } |