Skip to content

Commit ad18b3c

Browse files
Water-Melonfffonion
authored andcommitted
fix(aux/nginx) fix the typo of get_socket_ssl in the stream module
1 parent 2323526 commit ad18b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/openssl/auxiliary/nginx_c.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if ngx.config.subsystem == "stream" then
6161
success, get_sock_ssl = pcall(function() return C.ngx_stream_lua_kong_get_socket_ssl end)
6262
end
6363
if not success or get_sock_ssl == nil then
64-
get_sock_ssl = C.ngx_stream_lua_resty_openssl_aux_get_socket_ssl_ctx
64+
get_sock_ssl = C.ngx_stream_lua_resty_openssl_aux_get_socket_ssl
6565
end
6666

6767
else

0 commit comments

Comments
 (0)