Skip to content

Commit 0b14a04

Browse files
authored
bugfix: fix the compatibility issue for freenginx.
1 parent 1e6a526 commit 0b14a04

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ngx_http_lua_ssl_client_helloby.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn,
222222

223223
#if (nginx_version > 1029001)
224224
#ifdef SSL_CLIENT_HELLO_SUCCESS
225+
#if !defined freenginx
225226
/* see commit 0373fe5d98c1515640 for more details */
226227
rc = ngx_ssl_client_hello_callback(ssl_conn, al, arg);
227228

@@ -230,6 +231,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn,
230231
}
231232
#endif
232233
#endif
234+
#endif
233235

234236
#if (nginx_version < 1017009)
235237
ngx_reusable_connection(c, 0);

0 commit comments

Comments
 (0)