]> git.kaiwu.me - nginx.git/commit
SSL: ngx_ssl_set_client_hello_callback() error handling.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 6 Nov 2025 13:30:41 +0000 (17:30 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Mon, 10 Nov 2025 16:01:28 +0000 (20:01 +0400)
commit38a701d88b14f0747003c4e893d9fb13f51639ca
tree02b6dc521ddb85247bde8a4387402a22da2547c2
parentac99f2808b9ff7bdce91b129539cb1ed30dd1458
SSL: ngx_ssl_set_client_hello_callback() error handling.

The function interface is changed to follow a common approach
to other functions used to setup SSL_CTX, with an exception of
"ngx_conf_t *cf" since it is not bound to nginx configuration.

This is required to report and propagate SSL_CTX_set_ex_data()
errors, as reminded by Coverity (CID 1668589).
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/modules/ngx_http_ssl_module.c
src/stream/ngx_stream_ssl_module.c