Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Oct 22, 2024
1 parent 960de22 commit 0f25a22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kong/tls/plugins/certificate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ function _M.execute(snis_set)
end

function _M.execute_client_hello(snis_set, options)
if not snis_set then
return
end

if not options then
return
Expand Down
1 change: 1 addition & 0 deletions kong/tls/plugins/sni_filter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ local function each_enabled_plugin(entity, plugin_name)

local iter = entity:each(1000, options)
local function iterator()
if not iter then return end
local element, err = iter()
if err then return nil, err end
if element == nil then return end
Expand Down

0 comments on commit 0f25a22

Please sign in to comment.