]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Prior to r1877345 mc->pPool was the process pool (s->process->pool).
authorJoe Orton <jorton@apache.org>
Mon, 4 May 2020 08:58:02 +0000 (08:58 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 4 May 2020 08:58:02 +0000 (08:58 +0000)
commit87959528ce4f93d0f579a6c06be141eb39307d21
treeffb9f99e65c4af0635ffa511ceb7bcad583bccbe
parent3e2123609c1d0df222d0766817572d99d135bf2d
Prior to r1877345 mc->pPool was the process pool (s->process->pool).
Drop the field from SSLModConfigRec and use pconf instead (where
appropriate) to match the new SSLModConfigRec lifetime.

* modules/ssl/ssl_engine_kernel.c (ssl_callback_DelSessionCacheEntry):
  Explicitly (and probably unsafely) use the process pool.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLRandomSeed): Use
  cmd->pool to allocate paths.

* modules/ssl/ssl_engine_init.c (ssl_init_Module): Use pconf
  to allocate the keylog_file.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup): Drop lookup
  of SSLModConfigRec and use s->process->pool when no pool is
  passed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877347 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_config.c
modules/ssl/ssl_engine_init.c
modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_engine_vars.c
modules/ssl/ssl_private.h