Software /
code /
prosody
Diff
core/certmanager.lua @ 10919:8cde06b38fdb
core.certmanager: Add TODO about LuaSec issue
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Jun 2020 02:12:50 +0200 |
parent | 10722:3ddc7c9f35dc |
child | 11368:0bc3acf37428 |
line wrap: on
line diff
--- a/core/certmanager.lua Sun Jun 07 00:18:14 2020 +0200 +++ b/core/certmanager.lua Sun Jun 07 02:12:50 2020 +0200 @@ -37,6 +37,9 @@ 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;