aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-07 02:12:50 +0200
committerKim Alvefur <zash@zash.se>2020-06-07 02:12:50 +0200
commitfb5e6faad6782d9b034e7b19656c944529d5d538 (patch)
tree77a7851e328ebd5177aa4c03a46500852c40bdee /core
parentababc84794a77543eb1b84b5414d46f0eacb41f6 (diff)
downloadprosody-fb5e6faad6782d9b034e7b19656c944529d5d538.tar.gz
prosody-fb5e6faad6782d9b034e7b19656c944529d5d538.zip
core.certmanager: Add TODO about LuaSec issue
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua3
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;