diff options
Diffstat (limited to 'src/gnutls_cache.c')
-rw-r--r-- | src/gnutls_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnutls_cache.c b/src/gnutls_cache.c index a0612f9..4d4a661 100644 --- a/src/gnutls_cache.c +++ b/src/gnutls_cache.c | |||
@@ -390,7 +390,7 @@ static gnutls_datum_t dbm_cache_fetch(void* baton, gnutls_datum_t key) | |||
390 | return data; | 390 | return data; |
391 | 391 | ||
392 | rv = apr_dbm_open(&dbm, ctxt->sc->cache_config, | 392 | rv = apr_dbm_open(&dbm, ctxt->sc->cache_config, |
393 | APR_DBM_RWCREATE, SSL_DBM_FILE_MODE, ctxt->c->pool); | 393 | APR_DBM_READONLY, SSL_DBM_FILE_MODE, ctxt->c->pool); |
394 | if (rv != APR_SUCCESS) { | 394 | if (rv != APR_SUCCESS) { |
395 | ap_log_error(APLOG_MARK, APLOG_NOTICE, rv, | 395 | ap_log_error(APLOG_MARK, APLOG_NOTICE, rv, |
396 | ctxt->c->base_server, | 396 | ctxt->c->base_server, |