summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-10-14 21:05:32 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-10-14 21:05:32 +0000
commitcbc4a6a6db92ddb7fad2f37388cbf6c189319752 (patch)
treecb9e987af878e8a47d1e411552b2886354220831 /usr.sbin/smtpd
parentd821aa940a3aa027e9d6b90eee9d21511bdd025c (diff)
remove a handful of log_warn that we should handle at a different place to
make them really useful
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/ca.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/ca.c b/usr.sbin/smtpd/ca.c
index 0332fc2e2ac..707087ef667 100644
--- a/usr.sbin/smtpd/ca.c
+++ b/usr.sbin/smtpd/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.15 2015/10/13 08:07:35 gilles Exp $ */
+/* $OpenBSD: ca.c,v 1.16 2015/10/14 21:05:31 gilles Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
@@ -186,18 +186,14 @@ ca_verify_cb(int ok, X509_STORE_CTX *ctx)
case X509_V_OK:
break;
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:
- log_warnx("warn: unable to get issuer cert");
break;
case X509_V_ERR_CERT_NOT_YET_VALID:
case X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD:
- log_warnx("warn: certificate not yet valid");
break;
case X509_V_ERR_CERT_HAS_EXPIRED:
case X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD:
- log_warnx("warn: certificate has expired");
break;
case X509_V_ERR_NO_EXPLICIT_POLICY:
- log_warnx("warn: no explicit policy");
break;
}
return ok;