From bb15a4aaca62df563e32ae3abd46a2869412377b Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Mon, 10 Jun 2002 20:45:36 +0000 Subject: Zap a few remaining libkeynote refs. --- sbin/isakmpd/x509.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'sbin/isakmpd/x509.c') diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c index 8a8ba584fa0..025b7da254b 100644 --- a/sbin/isakmpd/x509.c +++ b/sbin/isakmpd/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.71 2002/06/10 18:08:59 ho Exp $ */ +/* $OpenBSD: x509.c,v 1.72 2002/06/10 20:45:35 ho Exp $ */ /* $EOM: x509.c,v 1.54 2001/01/16 18:42:16 ho Exp $ */ /* @@ -895,17 +895,13 @@ x509_cert_insert (int id, void *scert) } #ifdef USE_POLICY -#ifdef USE_KEYNOTE if (x509_generate_kn (id, cert) == 0) -#else - if (libkeynote && x509_generate_kn (id, cert) == 0) -#endif - { - LOG_DBG ((LOG_POLICY, 50, - "x509_cert_insert: x509_generate_kn failed")); - X509_free (cert); - return 0; - } + { + LOG_DBG ((LOG_POLICY, 50, + "x509_cert_insert: x509_generate_kn failed")); + X509_free (cert); + return 0; + } #endif /* USE_POLICY */ res = x509_hash_enter (cert); -- cgit v1.2.3