summaryrefslogtreecommitdiffstatsabout
path: root/src/gnutls_io.c
diff options
context:
space:
mode:
authorPaul Querna <chip@outoforder.cc>2005-04-22 01:29:13 (GMT)
committer Paul Querna <chip@outoforder.cc>2005-04-22 01:29:13 (GMT)
commit316bd8cab0ab97335f2b0e36c3a240ff7967ed1a (patch)
tree89fc433988291e4bdcd3dfc45b323040a4f42996 /src/gnutls_io.c
parente924ddd3c71d5a28d973bf0b17316b63d9fad70f (diff)
- remove more debug logging.
- fix a crash by changing the certificate structure *after* starting the handshake.
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));