aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_config.c
diff options
context:
space:
mode:
authorGravatar Nikos Mavrogiannopoulos 2010-07-01 02:47:51 +0200
committerGravatar Nikos Mavrogiannopoulos 2010-07-01 02:47:51 +0200
commit03a9a6b874ae291720e6089c2cf892a3e0ede4d3 (patch)
tree9189b365507e5e05058a07509dc35f95ced3967b /src/gnutls_config.c
parent3928f79a358f10de421ad015ce11679291ccf4c6 (diff)
Force SDBM.
Diffstat (limited to 'src/gnutls_config.c')
-rw-r--r--src/gnutls_config.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gnutls_config.c b/src/gnutls_config.c
index 3ff3b34..d75e785 100644
--- a/src/gnutls_config.c
+++ b/src/gnutls_config.c
@@ -327,9 +327,8 @@ const char *mgs_set_cache(cmd_parms * parms, void *dummy,
327 return err; 327 return err;
328 } 328 }
329 329
330 if (strcasecmp("none", type) == 0) { 330 sc->cache_type = mgs_cache_none;
331 sc->cache_type = mgs_cache_none; 331 if (strcasecmp("dbm", type) == 0) {
332 } else if (strcasecmp("dbm", type) == 0) {
333 sc->cache_type = mgs_cache_dbm; 332 sc->cache_type = mgs_cache_dbm;
334 } 333 }
335#if HAVE_APR_MEMCACHE 334#if HAVE_APR_MEMCACHE
@@ -589,7 +588,7 @@ void *mgs_config_server_create(apr_pool_t * p, server_rec * s)
589 memset( sc->certs_x509, 0, sizeof(sc->certs_x509)); 588 memset( sc->certs_x509, 0, sizeof(sc->certs_x509));
590 sc->certs_x509_num = 0; 589 sc->certs_x509_num = 0;
591 sc->cache_timeout = apr_time_from_sec(300); 590 sc->cache_timeout = apr_time_from_sec(300);
592 sc->cache_type = mgs_cache_dbm; 591 sc->cache_type = mgs_cache_none;
593 sc->cache_config = ap_server_root_relative(p, "conf/gnutls_cache"); 592 sc->cache_config = ap_server_root_relative(p, "conf/gnutls_cache");
594 593
595 sc->client_verify_mode = GNUTLS_CERT_IGNORE; 594 sc->client_verify_mode = GNUTLS_CERT_IGNORE;