diff options
author | Graham Leggett <minfrin@apache.org> | 2013-12-12 00:14:46 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2013-12-12 00:14:46 +0100 |
commit | c7ec3ecccd355509621f6f7b4c566851537c92d1 (patch) | |
tree | 30d4ecb0a0f314ff626968f4522cd5811b7f05a7 /modules/session | |
parent | mod_auth_form: Make the trace logging consistent through the notes, session (diff) | |
download | apache2-c7ec3ecccd355509621f6f7b4c566851537c92d1.tar.xz apache2-c7ec3ecccd355509621f6f7b4c566851537c92d1.zip |
mod_session_crypto: Make sure we try to initialise twice, so we don't
succeed in configtest but fail on restart.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/session')
-rw-r--r-- | modules/session/mod_session_crypto.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c index 984a048762..79a9ca3b72 100644 --- a/modules/session/mod_session_crypto.c +++ b/modules/session/mod_session_crypto.c @@ -407,13 +407,6 @@ static int session_crypto_init(apr_pool_t *p, apr_pool_t *plog, session_crypto_conf *conf = ap_get_module_config(s->module_config, &session_crypto_module); - /* session_crypto_init() will be called twice. Don't bother - * going through all of the initialization on the first call - * because it will just be thrown away.*/ - if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG) { - return OK; - } - if (conf->library) { const apu_err_t *err = NULL; |