Skip to content

Commit

Permalink
remove old comment in setclientcert
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw authored and pintsized committed Feb 14, 2022
1 parent 8cb73c4 commit 2af9925
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/resty/http_connect.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ local function connect(self, options)
ngx_log(ngx_WARN, "cannot use SSL client cert and key without mTLS support")

else
-- currently no return value
ok, err = sock:setclientcert(ssl_client_cert, ssl_client_priv_key)
if not ok then
ngx_log(ngx_WARN, "could not set client certificate: ", err)
Expand Down

0 comments on commit 2af9925

Please sign in to comment.