diff --git a/src/ngx_http_lua_ssl_client_helloby.c b/src/ngx_http_lua_ssl_client_helloby.c index dc44bb757e..7a0a556b7f 100644 --- a/src/ngx_http_lua_ssl_client_helloby.c +++ b/src/ngx_http_lua_ssl_client_helloby.c @@ -222,6 +222,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn, #if (nginx_version > 1029001) #ifdef SSL_CLIENT_HELLO_SUCCESS +#if !defined freenginx /* see commit 0373fe5d98c1515640 for more details */ rc = ngx_ssl_client_hello_callback(ssl_conn, al, arg); @@ -230,6 +231,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn, } #endif #endif +#endif #if (nginx_version < 1017009) ngx_reusable_connection(c, 0);