Hi friend, I'm trying to build nginx-ce with openssl 3.0.1, it turns out this error:
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c: In function ‘ngx_stream_ssl_ct_merge_srv_conf’:
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:73:5: error: unknown type name ‘ngx_stream_ssl_conf_t’; did you mean ‘ngx_stream_addr_conf_t’?
73 | ngx_stream_ssl_conf_t *ssl_conf = ngx_stream_conf_get_module_srv_conf(cf,
| ^~~~~~~~~~~~~~~~~~~~~
| ngx_stream_addr_conf_t
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:79:28: error: request for member ‘certificates’ in something not a structure or union
79 | certificates = ssl_conf->certificates;
| ^~
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:87:65: error: request for member ‘ssl’ in something not a structure or union
87 | return ngx_ssl_ct_merge_srv_conf(cf, parent, child, ssl_conf->ssl.ctx,
| ^~
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:89:1: error: control reaches end of non-void function [-Werror=return-type]
89 | }
| ^
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:3727: objs/addon/ssl-ct/ngx_stream_ssl_ct_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/opt/NGINX/nginx-1.26.1'
make: *** [Makefile:10: build] Error 2
Hi friend, I'm trying to build nginx-ce with openssl 3.0.1, it turns out this error:
Tell me what can be done?