diff --git a/lib/resty/http_connect.lua b/lib/resty/http_connect.lua index 43996ef..049d4ec 100644 --- a/lib/resty/http_connect.lua +++ b/lib/resty/http_connect.lua @@ -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)