Skip to content

Commit

Permalink
fix(aux/nginx) remove extra sanity test that prevent usage of
Browse files Browse the repository at this point in the history
lua-kong-nginx-module
  • Loading branch information
Water-Melon authored and fffonion committed Apr 22, 2024
1 parent 195a8b7 commit 2323526
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/resty/openssl/auxiliary/nginx_c.lua
Expand Up @@ -56,8 +56,6 @@ if ngx.config.subsystem == "stream" then
void **ssl_conn);
]]

-- sanity test
local _ = C.ngx_stream_lua_resty_openssl_aux_get_request_ssl
local success
if not os.getenv("CI_SKIP_KONG_SSL_FUNCS") then
success, get_sock_ssl = pcall(function() return C.ngx_stream_lua_kong_get_socket_ssl end)
Expand Down Expand Up @@ -87,8 +85,6 @@ else
void **ssl_conn);
]]

-- sanity test
local _ = C.ngx_http_lua_resty_openssl_aux_get_request_ssl
local success
if not os.getenv("CI_SKIP_KONG_SSL_FUNCS") then
success, get_sock_ssl = pcall(function() return C.ngx_http_lua_kong_ffi_get_socket_ssl end)
Expand Down

0 comments on commit 2323526

Please sign in to comment.