From: Pavel Pautov
Date: Wed, 22 Jan 2025 02:41:16 +0000 (-0800)
Subject: Upstream: fixed --with-compat build without SSL, broken by 454ad0e.
X-Git-Tag: release-1.27.4~6
X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=5ab4f32e9de1d0c8523d3a22fc20a3067e20b68d;p=nginx.git
Upstream: fixed --with-compat build without SSL, broken by 454ad0e.
---
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index 88db7dc98..02890b843 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -26,6 +26,7 @@ typedef struct ngx_event_aio_s ngx_event_aio_t;
typedef struct ngx_connection_s ngx_connection_t;
typedef struct ngx_thread_task_s ngx_thread_task_t;
typedef struct ngx_ssl_s ngx_ssl_t;
+typedef struct ngx_ssl_cache_s ngx_ssl_cache_t;
typedef struct ngx_proxy_protocol_s ngx_proxy_protocol_t;
typedef struct ngx_quic_stream_s ngx_quic_stream_t;
typedef struct ngx_ssl_connection_s ngx_ssl_connection_t;
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h
index c9dc50c75..9ad4d177b 100644
--- a/src/event/ngx_event_openssl.h
+++ b/src/event/ngx_event_openssl.h
@@ -83,7 +83,6 @@
#endif
-typedef struct ngx_ssl_cache_s ngx_ssl_cache_t;
typedef struct ngx_ssl_ocsp_s ngx_ssl_ocsp_t;