Skip to content

Commit

Permalink
Fixed failure to build from source with nginx 1.25.5+
Browse files Browse the repository at this point in the history
Check for ssl context as in http lua module instead of a field removed
in https://hg.nginx.org/nginx/rev/e28b044908cb.
  • Loading branch information
thresheek committed Mar 22, 2024
1 parent cb82db3 commit cf13558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_stream_lua_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ ngx_stream_lua_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
dd("merge srv conf");

sscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_ssl_module);
if (sscf && sscf->listen) {
if (sscf && sscf->ssl.ctx) {
if (conf->srv.ssl_client_hello_src.len == 0) {
conf->srv.ssl_client_hello_src = prev->srv.ssl_client_hello_src;
conf->srv.ssl_client_hello_src_key =
Expand Down

0 comments on commit cf13558

Please sign in to comment.