Software /
code /
prosody
Changeset
11548:55ef50d6cf65 0.11
core.certmanager: Attempt to directly access LuaSec config table
Due to a bug this field was not properly exported before
See https://github.com/brunoos/luasec/issues/149
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 26 Apr 2021 15:30:13 +0200 |
parents | 11547:dd21eb632f52 |
children | 11549:5a484bd050a7 |
files | core/certmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/certmanager.lua Mon May 10 17:03:27 2021 +0100 +++ b/core/certmanager.lua Mon Apr 26 15:30:13 2021 +0200 @@ -38,7 +38,7 @@ local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)"); local luasec_version = tonumber(luasec_major) * 100 + tonumber(luasec_minor); -local luasec_has = softreq"ssl.config" or { +local luasec_has = ssl.config or softreq"ssl.config" or { algorithms = { ec = luasec_version >= 5; };