]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_ssl: Minor cleanup to avoid defining init handling functions for
authorJoe Orton <jorton@apache.org>
Wed, 6 May 2020 15:30:14 +0000 (15:30 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 6 May 2020 15:30:14 +0000 (15:30 +0000)
commitcac14a0f34c8660a1758a4380cd32cc3e49d3b95
treeeb8069f5eb07ed2ab1dbb1274095dbc946734019
parentb8155f30da21c8c9dd3efd3d44d81af9e87e4ef3
mod_ssl: Minor cleanup to avoid defining init handling functions for
pre-1.1 builds where they are noops or unused.  No functional change
(intended).

* modules/ssl/mod_ssl.c: Define NEED_MANUAL_OPENSSL_INIT for builds
  where pre-1.1 OpenSSL needs "manual" initialization/cleanup.  Only
  define modssl_running_statically for this case (otherwise it is set
  and never read).
  (modssl_is_prelinked): Only define for NEED_MANUAL_OPENSSL_INIT.
  (ssl_cleanup_pre_config): Only define for NEED_MANUAL_OPENSSL_INIT;
  otherwise it is a noop returning APR_SUCCESS;
  (ssl_hook_pre_config): Only install the cleanup and initialize
  modssl_is_prelinked for NEED_MANUAL_OPENSSL_INIT build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877440 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/mod_ssl.c