Software / code / prosody
Changeset
10919:8cde06b38fdb
core.certmanager: Add TODO about LuaSec issue
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 07 Jun 2020 02:12:50 +0200 |
| parents | 10918:b0038e404e0e |
| children | 10920:c171b4c59bd1 |
| files | core/certmanager.lua |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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;