From 62def2f82df4b35b03843063364533bd36646ee0 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 24 Sep 2010 09:12:37 +0200 Subject: reduced warning level of TLS errors. --- src/gnutls_io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gnutls_io.c b/src/gnutls_io.c index 6db2b28..174a424 100644 --- a/src/gnutls_io.c +++ b/src/gnutls_io.c @@ -396,7 +396,7 @@ tryagain: if (ret == GNUTLS_E_WARNING_ALERT_RECEIVED || ret == GNUTLS_E_FATAL_ALERT_RECEIVED) { errcode = gnutls_alert_get(ctxt->session); - ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctxt->c->base_server, "GnuTLS: Hanshake Alert (%d) '%s'.", errcode, gnutls_alert_get_name(errcode)); } @@ -408,11 +408,11 @@ tryagain: goto tryagain; } #if USING_2_1_RECENT - ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, ctxt->c, + ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, ctxt->c, "GnuTLS: Handshake Failed (%d) '%s'", ret, gnutls_strerror(ret)); #else - ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctxt->c->base_server, "GnuTLS: Handshake Failed (%d) '%s'", ret, gnutls_strerror(ret)); #endif @@ -453,7 +453,7 @@ int mgs_rehandshake(mgs_handle_t * ctxt) if (rv != 0) { /* the client did not want to rehandshake. goodbye */ - ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, + ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ctxt->c->base_server, "GnuTLS: Client Refused Rehandshake request."); return -1; } -- cgit