This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 34df010  chore: fix typo in init.lua (#5161)
34df010 is described below

commit 34df010cfc1083b653d0cb85c6d724716855277a
Author: leslie <[email protected]>
AuthorDate: Sat Oct 2 11:18:42 2021 +0800

    chore: fix typo in init.lua (#5161)
---
 apisix/init.lua      | 2 +-
 t/node/client-mtls.t | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apisix/init.lua b/apisix/init.lua
index 181233d..e875bb5 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -315,7 +315,7 @@ local function verify_tls_client(ctx)
             if res == "NONE" then
                 core.log.error("client certificate was not present")
             else
-                core.log.error("clent certificate verification is not passed: 
", res)
+                core.log.error("client certificate verification is not passed: 
", res)
             end
 
             return false
diff --git a/t/node/client-mtls.t b/t/node/client-mtls.t
index c748935..b1cd225 100644
--- a/t/node/client-mtls.t
+++ b/t/node/client-mtls.t
@@ -303,4 +303,4 @@ GET /mtls3
 Host: localhost
 --- error_code: 400
 --- error_log
-clent certificate verification is not passed: FAILED:self signed certificate
+client certificate verification is not passed: FAILED:self signed certificate

Reply via email to