ports/www/nginx-devel/files/extra-patch-ngx_stream_ssl_ct_module.c
Sergey A. Osokin d83020dff1 www/nginx-devel: update 1.25.4 -> 1.25.5 (+)
Fix building third-party naxsi module.

<Changelog>

*) Feature: virtual servers in the stream module.

*) Feature: the ngx_stream_pass_module.

*) Feature: the "deferred", "accept_filter", and "setfib" parameters of
   the "listen" directive in the stream module.

*) Feature: cache line size detection for some architectures.
   Thanks to Piotr Sikora.

*) Feature: support for Homebrew on Apple Silicon.
   Thanks to Piotr Sikora.

*) Bugfix: Windows cross-compilation bugfixes and improvements.
   Thanks to Piotr Sikora.

*) Bugfix: unexpected connection closure while using 0-RTT in QUIC.
   Thanks to Vladimir Khomutov.

</Changelog>
2024-04-18 13:07:41 -04:00

14 lines
571 B
C

--- ../nginx-ct-93e9884/ngx_stream_ssl_ct_module.c.orig 2024-04-18 12:32:44.086600000 -0400
+++ ../nginx-ct-93e9884/ngx_stream_ssl_ct_module.c 2024-04-18 12:37:40.764525000 -0400
@@ -70,7 +70,11 @@
static char *ngx_stream_ssl_ct_merge_srv_conf(ngx_conf_t *cf, void *parent,
void *child) {
+#if nginx_version >= 1025005
+ ngx_stream_ssl_srv_conf_t *ssl_conf = ngx_stream_conf_get_module_srv_conf(cf,
+#else
ngx_stream_ssl_conf_t *ssl_conf = ngx_stream_conf_get_module_srv_conf(cf,
+#endif
ngx_stream_ssl_module);
ngx_array_t *certificates;