]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix ENGINE use with OpenSSL 3.2, which appears to be broken due to a
authorJoe Orton <jorton@apache.org>
Tue, 28 May 2024 15:42:03 +0000 (15:42 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 28 May 2024 15:42:03 +0000 (15:42 +0000)
commit724bd414bbf21d4ba7263aa5062246253c56170d
tree16ce1a571810e4fe7c3628a83163a1eda1096ec1
parentc0a30141cad8ee5541a8c73b4b19f7a6a78f979b
Fix ENGINE use with OpenSSL 3.2, which appears to be broken due to a
refcounting issue in mod_ssl.

* modules/ssl/ssl_engine_pphrase.c (modssl_engine_cleanup):
  New function.
  (modssl_load_keypair_engine): Take pconf & ptemp arguments, don't
  call ENGINE_finish() immediately but register the above cleanup.
  (modssl_load_engine_keypair): Pass through pconf & ptemp.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs):
  Pass through pconf and ptemp to modssl_load_engine_keypair.

Github: closes #446

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