starsz commented on a change in pull request #2815:
URL: https://github.com/apache/apisix/pull/2815#discussion_r528341171
##########
File path: apisix/ssl/router/radixtree_sni.lua
##########
@@ -67,9 +67,12 @@ local function decrypt_priv_pkey(iv, key)
return key
end
- local decrypted = iv:decrypt(ngx_decode_base64(key))
- if decrypted then
- return decrypted
+ local decoded_key = ngx_decode_base64(key)
Review comment:
OK, fixed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]