Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/resty/openssl/kdf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ function _M.derive(options)
end

for k, v in pairs(options_schema) do
local v, err = check_options(options, typ, k, unpack(v))
-- don't use unpack here to avoid nil truncation
local v, err = check_options(options, typ, k, v[1],v[2],v[3])
Comment thread
fffonion marked this conversation as resolved.
Comment thread
fffonion marked this conversation as resolved.
if err then
return nil, "kdf.derive: " .. err
end
Expand Down