aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_io.c')
-rw-r--r--src/gnutls_io.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gnutls_io.c b/src/gnutls_io.c
index 5e0c4ef..dee2c4f 100644
--- a/src/gnutls_io.c
+++ b/src/gnutls_io.c
@@ -381,10 +381,15 @@ tryagain:
381 gnutls_strerror(ret)); 381 gnutls_strerror(ret));
382 goto tryagain; 382 goto tryagain;
383 } 383 }
384 384#if USING_2_1_RECENT
385 ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server, 385 ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, ctxt->c,
386 "GnuTLS: Handshake Failed (%d) '%s'", ret, 386 "GnuTLS: Handshake Failed (%d) '%s'", ret,
387 gnutls_strerror(ret)); 387 gnutls_strerror(ret));
388#else
389 ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctxt->c->base_server,
390 "GnuTLS: Handshake Failed (%d) '%s'", ret,
391 gnutls_strerror(ret));
392#endif
388 ctxt->status = -1; 393 ctxt->status = -1;
389 gnutls_alert_send(ctxt->session, GNUTLS_AL_FATAL, 394 gnutls_alert_send(ctxt->session, GNUTLS_AL_FATAL,
390 gnutls_error_to_alert(ret, NULL)); 395 gnutls_error_to_alert(ret, NULL));