aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_cache.c
diff options
context:
space:
mode:
authorGravatar Paul Querna 2005-04-22 01:29:13 +0000
committerGravatar Paul Querna 2005-04-22 01:29:13 +0000
commit316bd8cab0ab97335f2b0e36c3a240ff7967ed1a (patch)
tree89fc433988291e4bdcd3dfc45b323040a4f42996 /src/gnutls_cache.c
parente924ddd3c71d5a28d973bf0b17316b63d9fad70f (diff)
- remove more debug logging.
- fix a crash by changing the certificate structure *after* starting the handshake.
Diffstat (limited to 'src/gnutls_cache.c')
-rw-r--r--src/gnutls_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnutls_cache.c b/src/gnutls_cache.c
index 91e6ec9..eaeeea6 100644
--- a/src/gnutls_cache.c
+++ b/src/gnutls_cache.c
@@ -209,11 +209,12 @@ static gnutls_datum_t mc_cache_fetch(void* baton, gnutls_datum_t key)
209 &value, &value_len, NULL); 209 &value, &value_len, NULL);
210 210
211 if (rv != APR_SUCCESS) { 211 if (rv != APR_SUCCESS) {
212#if MOD_GNUTLS_DEBUG
212 ap_log_error(APLOG_MARK, APLOG_DEBUG, rv, 213 ap_log_error(APLOG_MARK, APLOG_DEBUG, rv,
213 ctxt->c->base_server, 214 ctxt->c->base_server,
214 "[gnutls_cache] error fetching key '%s' ", 215 "[gnutls_cache] error fetching key '%s' ",
215 strkey); 216 strkey);
216 217#endif
217 data.size = 0; 218 data.size = 0;
218 data.data = NULL; 219 data.data = NULL;
219 return data; 220 return data;