From 3037ac8338edb50e47a8e176930e092f23e2689c Mon Sep 17 00:00:00 2001 From: gilles Date: Wed, 14 Oct 2015 21:05:31 +0000 Subject: [PATCH] remove a handful of log_warn that we should handle at a different place to make them really useful --- usr.sbin/smtpd/ca.c | 6 +----- 1 file changed, 1 insertion(+), 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 @@ -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; -- 2.20.1