aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikos Mavrogiannopoulos 2010-09-24 09:12:37 +0200
committerGravatar Nikos Mavrogiannopoulos 2010-09-24 09:12:37 +0200
commit62def2f82df4b35b03843063364533bd36646ee0 (patch)
tree01cb065a142fdb93e7eb62b5adeca7f516551e24 /src
parentbe90561a891f1bbcd49402431f07ac6bf543d40f (diff)
reduced warning level of TLS errors.
Diffstat (limited to 'src')
-rw-r--r--src/gnutls_io.c8
1 files changed, 4 insertions, 4 deletions
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:
396 if (ret == GNUTLS_E_WARNING_ALERT_RECEIVED 396 if (ret == GNUTLS_E_WARNING_ALERT_RECEIVED
397 || ret == GNUTLS_E_FATAL_ALERT_RECEIVED) { 397 || ret == GNUTLS_E_FATAL_ALERT_RECEIVED) {
398 errcode = gnutls_alert_get(ctxt->session); 398 errcode = gnutls_alert_get(ctxt->session);
399 ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, 399 ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctxt->c->base_server,
400 "GnuTLS: Hanshake Alert (%d) '%s'.", errcode, 400 "GnuTLS: Hanshake Alert (%d) '%s'.", errcode,
401 gnutls_alert_get_name(errcode)); 401 gnutls_alert_get_name(errcode));
402 } 402 }
@@ -408,11 +408,11 @@ tryagain:
408 goto tryagain; 408 goto tryagain;
409 } 409 }
410#if USING_2_1_RECENT 410#if USING_2_1_RECENT
411 ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, ctxt->c, 411 ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, ctxt->c,
412 "GnuTLS: Handshake Failed (%d) '%s'", ret, 412 "GnuTLS: Handshake Failed (%d) '%s'", ret,
413 gnutls_strerror(ret)); 413 gnutls_strerror(ret));
414#else 414#else
415 ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, 415 ap_log_error(APLOG_MARK, APLOG_INFO, 0, ctxt->c->base_server,
416 "GnuTLS: Handshake Failed (%d) '%s'", ret, 416 "GnuTLS: Handshake Failed (%d) '%s'", ret,
417 gnutls_strerror(ret)); 417 gnutls_strerror(ret));
418#endif 418#endif
@@ -453,7 +453,7 @@ int mgs_rehandshake(mgs_handle_t * ctxt)
453 453
454 if (rv != 0) { 454 if (rv != 0) {
455 /* the client did not want to rehandshake. goodbye */ 455 /* the client did not want to rehandshake. goodbye */
456 ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, 456 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ctxt->c->base_server,
457 "GnuTLS: Client Refused Rehandshake request."); 457 "GnuTLS: Client Refused Rehandshake request.");
458 return -1; 458 return -1;
459 } 459 }