You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/01/14 09:03:52 UTC
[apisix] branch master updated: fix(ssl): correct variable name in radixtree_sni.lua (#6107)
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 2a67374 fix(ssl): correct variable name in radixtree_sni.lua (#6107)
2a67374 is described below
commit 2a67374af0b515b667e2d02f8744ac8dd9dad30f
Author: biubiue <hi...@gmail.com>
AuthorDate: Fri Jan 14 17:03:43 2022 +0800
fix(ssl): correct variable name in radixtree_sni.lua (#6107)
---
apisix/ssl/router/radixtree_sni.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apisix/ssl/router/radixtree_sni.lua b/apisix/ssl/router/radixtree_sni.lua
index 433ed2d..1b3220c 100644
--- a/apisix/ssl/router/radixtree_sni.lua
+++ b/apisix/ssl/router/radixtree_sni.lua
@@ -104,7 +104,7 @@ local function set_pem_ssl_key(sni, cert, pkey)
end
local parsed_pkey, err = apisix_ssl.fetch_pkey(sni, pkey)
- if not parsed_cert then
+ if not parsed_pkey then
return false, "failed to parse PEM priv key: " .. err
end