diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-07 02:12:50 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-07 02:12:50 +0200 |
commit | fb5e6faad6782d9b034e7b19656c944529d5d538 (patch) | |
tree | 77a7851e328ebd5177aa4c03a46500852c40bdee /core/certmanager.lua | |
parent | ababc84794a77543eb1b84b5414d46f0eacb41f6 (diff) | |
download | prosody-fb5e6faad6782d9b034e7b19656c944529d5d538.tar.gz prosody-fb5e6faad6782d9b034e7b19656c944529d5d538.zip |
core.certmanager: Add TODO about LuaSec issue
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r-- | core/certmanager.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index 91475467..023218fa 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -37,6 +37,9 @@ local config_path = prosody.paths.config or "."; local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)"); local luasec_version = tonumber(luasec_major) * 100 + tonumber(luasec_minor); +-- TODO Use ssl.config instead of require here once we are sure that the fix +-- in LuaSec has been widely distributed +-- https://github.com/brunoos/luasec/issues/149 local luasec_has = softreq"ssl.config" or { algorithms = { ec = luasec_version >= 5; |