mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
core.certmanager: Add TODO about LuaSec issue
This commit is contained in:
parent
ababc84794
commit
fb5e6faad6
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue