]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commitdiff
SSL: fixed build with BoringSSL, broken by 38a701d88.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 10 Nov 2025 17:36:40 +0000 (21:36 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Mon, 10 Nov 2025 19:27:53 +0000 (23:27 +0400)
src/event/ngx_event_openssl.c

index 4f07894ffa2f2367460ffd86a4efcc8325d6b029..a5af0ed3d98a4db42d13ce7070127bf329ccf521 100644 (file)
@@ -1888,7 +1888,7 @@ ngx_ssl_set_client_hello_callback(ngx_ssl_t *ssl, ngx_ssl_client_hello_arg *cb)
 
 #elif defined OPENSSL_IS_BORINGSSL
 
-    SSL_CTX_set_select_certificate_cb(ssl_ctx, ngx_ssl_select_certificate);
+    SSL_CTX_set_select_certificate_cb(ssl->ctx, ngx_ssl_select_certificate);
 
     if (SSL_CTX_set_ex_data(ssl->ctx, ngx_ssl_client_hello_arg_index, cb) == 0)
     {