1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

mod_ssl: Follow up to r1913815: szCryptoDevice to NULL when !MODSSL_HAVE_ENGINE_API

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.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2024-02-20 10:37:30 +00:00
parent 3703f02db7
commit 339cb1b504

View File

@@ -658,9 +658,7 @@ typedef struct {
apr_array_header_t *aRandSeed; apr_array_header_t *aRandSeed;
#endif #endif
#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT) const char *szCryptoDevice; /* ENGINE device (if available) */
const char *szCryptoDevice;
#endif
#ifdef HAVE_OCSP_STAPLING #ifdef HAVE_OCSP_STAPLING
const ap_socache_provider_t *stapling_cache; const ap_socache_provider_t *stapling_cache;