Changes with Apache 2.3.0
[ When backported to 2.2.x, remove entry from this file ]
+ *) mod_session_crypto: Initialise SSL in the post config hook.
+ [Ruediger Pluem, Graham Leggett]
+
*) mod_session_dbd: Add a session implementation capable of storing
session information in a SQL database via the dbd interface. Useful
for sites where session privacy is important. [Graham Leggett]
}
+/**
+ * Initialise the SSL in the post_config hook.
+ */
+AP_DECLARE(int) ap_session_crypto_init(apr_pool_t *p, apr_pool_t *plog,
+ apr_pool_t *ptemp, server_rec *s)
+{
+ apr_ssl_init();
+ return OK;
+}
new->cipher = DEFAULT_CIPHER;
new->digest = DEFAULT_DIGEST;
- /* initialise SSL */
- apr_ssl_init();
-
return (void *) new;
}
{
ap_hook_session_encode(ap_session_crypto_encode, NULL, NULL, APR_HOOK_LAST);
ap_hook_session_decode(ap_session_crypto_decode, NULL, NULL, APR_HOOK_FIRST);
+ ap_hook_post_config(ap_session_crypto_init, NULL, NULL, APR_HOOK_FIRST);
}
module AP_MODULE_DECLARE_DATA session_crypto_module =