summaryrefslogtreecommitdiffstats
path: root/modules/ssl/mod_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ssl/mod_ssl.c')
-rw-r--r--modules/ssl/mod_ssl.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c
index 379c827471..43d031d884 100644
--- a/modules/ssl/mod_ssl.c
+++ b/modules/ssl/mod_ssl.c
@@ -454,34 +454,6 @@ static int ssl_hook_pre_connection(conn_rec *c, void *csd)
return ssl_init_ssl_connection(c, NULL);
}
-/* Register all session cache providers. */
-static void modssl_register_scache(apr_pool_t *p)
-{
- /* shmcb is a cache of many names. */
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "shmcb",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_shmcb);
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "shmht",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_shmcb);
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "shm",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_shmcb);
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "dbm",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_dbm);
-#ifdef HAVE_DISTCACHE
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "dc",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_dc);
-#endif
-#ifdef HAVE_SSL_CACHE_MEMCACHE
- ap_register_provider(p, MODSSL_SESSCACHE_PROVIDER_GROUP, "mc",
- MODSSL_SESSCACHE_PROVIDER_VERSION,
- &modssl_sesscache_mc);
-#endif
-}
-
/*
* the module registration phase
*/
@@ -512,8 +484,6 @@ static void ssl_register_hooks(apr_pool_t *p)
ssl_var_register(p);
- modssl_register_scache(p);
-
APR_REGISTER_OPTIONAL_FN(ssl_proxy_enable);
APR_REGISTER_OPTIONAL_FN(ssl_engine_disable);
}