We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 369eea1 commit 8577422Copy full SHA for 8577422
lib/resty/openssl/pkey.lua
@@ -90,6 +90,8 @@ local function load_pem_der(txt, opts, funcs)
90
if opts.passphrase then
91
local passphrase = opts.passphrase
92
if type(passphrase) ~= "string" then
93
+ -- clear errors occur when trying
94
+ C.ERR_clear_error()
95
return nil, "passphrase must be a string"
96
end
97
arg = { null, nil, passphrase }
0 commit comments