ports/www/freenginx/files/extra-patch-ngx_stream_ssl_ct_module.c
Jochen Neumeister 8ac09f0e85 www/freenginx: Update to 1.26.0
Changelog: freenginx-1.26.0 stable version has been released, incorporating new
features and bug fixes from the 1.25.x mainline branch  — including
experimental HTTP/3 support, improved mitigation of various DoS attacks,
fixes in AIO handling, and more.

Adoption of the changes from www/nginx

Sponsored by:	Netzkommune GmbH
2024-06-18 11:26:47 +02: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;