summaryrefslogtreecommitdiff
path: root/sbin/iked/ca.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2010-09-30 14:25:55 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2010-09-30 14:25:55 +0000
commit35a27684f3815096c35893c00d2d49c152a7416d (patch)
treead9d3b18e9257da621e5e0bbb397387a6133ed74 /sbin/iked/ca.c
parent090873a31881d0222489bfd38cdbad4b28b350b4 (diff)
promote openssl errors to the warning level; ok reyk
Diffstat (limited to 'sbin/iked/ca.c')
-rw-r--r--sbin/iked/ca.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/iked/ca.c b/sbin/iked/ca.c
index 7d9bbe20e82..29bafc7ed66 100644
--- a/sbin/iked/ca.c
+++ b/sbin/iked/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.10 2010/06/29 21:04:42 reyk Exp $ */
+/* $OpenBSD: ca.c,v 1.11 2010/09/30 14:25:54 mikeb Exp $ */
/* $vantronix: ca.c,v 1.29 2010/06/02 12:22:58 reyk Exp $ */
/*
@@ -1119,12 +1119,8 @@ void
ca_sslerror(void)
{
u_long error;
- extern int verbose;
-
- if (verbose < 3)
- return;
while ((error = ERR_get_error()) != 0)
- log_debug("%s: %.100s", __func__,
+ log_warn("%s: %.100s", __func__,
ERR_error_string(error, NULL));
}