]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_ssl: Follow up to r1913815: szCryptoDevice to NULL when !MODSSL_HAVE_ENGINE_API
authorYann Ylavic <ylavic@apache.org>
Thu, 22 Feb 2024 14:06:46 +0000 (14:06 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 22 Feb 2024 14:06:46 +0000 (14:06 +0000)
Latest OpenSSL versions removed the ENGINE API completely, still provide NULL
SSLModConfigRec::szCryptoDevice since it's used outside MODSSL_HAVE_ENGINE_API.

SSLModConfigRec is a private struct, so no MMN change.

* modules/ssl/ssl_private(SSLModConfigRec):
  Provide szCryptoDevice (NULL) even if !MODSSL_HAVE_ENGINE_API.

Merges r1915889 from https://svn.apache.org/repos/asf/httpd/httpd/trunk.

Submitted by: ylavic
Reviewed by: ylavic, jorton, jfclere

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1915949 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/ssl/ssl_private.h

diff --git a/STATUS b/STATUS
index 97d73858d9639152dbb2fb12f30d603975c3fcc8..69dfe04867bb9fd4a32e73f611f070430b2fa417 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -171,12 +171,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
       Github PR: https://github.com/apache/httpd/pull/412
       +1: jorton, ylavic, jfclere
 
-   *) mod_ssl: fix build with !MODSSL_HAVE_ENGINE_API (follow up to r1913912 in 2.4.59)
-      trunk patch: https://svn.apache.org/r1915889
-      2.4.x patch: https://patch-diff.githubusercontent.com/raw/apache/httpd/pull/413.patch
-      Github PR: https://github.com/apache/httpd/pull/413
-      +1: ylavic, jorton, jfclere
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index 63cb7197ad41649707bbf74a8de616e81217a19c..859e932507f6b498654287e0059e1ace42aed36f 100644 (file)
@@ -652,9 +652,7 @@ typedef struct {
      * index), for example the string "vhost.example.com:443:0". */
     apr_hash_t     *tPrivateKey;
 
-#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT)
-    const char     *szCryptoDevice;
-#endif
+    const char     *szCryptoDevice; /* ENGINE device (if available) */
 
 #ifdef HAVE_OCSP_STAPLING
     const ap_socache_provider_t *stapling_cache;