Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
catbro666 committed Feb 27, 2024
1 parent 705f57d commit 9d731c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/http_connect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ local function connect(self, options)
-- convert from `void*` to `EVP_PKEY*`
local key, err = lib_pkey.new(ffi_cast("EVP_PKEY*", ssl_client_priv_key))
if not key then
return nil, string_format("failed to new the pkey: %s": err)
return nil, string_format("failed to new the pkey: %s", err)
end
-- should not free the cdata passed in
ffi_gc(key.ctx, nil)
Expand Down

0 comments on commit 9d731c8

Please sign in to comment.