X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=core%2Fcertmanager.lua;h=b40c13c1c8951f906c353cef524cb50ca680cdab;hb=e29afef6ddc342ba7b1a5607408f55dea5c5c1bd;hp=e016aa97b81124b73fc64e02e7e5397dc08ad86d;hpb=a59fecdf63d1dc95abbac751a994cf8cf445c42d;p=prosody.git diff --git a/core/certmanager.lua b/core/certmanager.lua index e016aa97..b40c13c1 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -71,7 +71,7 @@ local path_options = { -- These we pass through resolve_path() key = true, certificate = true, cafile = true, capath = true, dhparam = true } -if not luasec_has_verifyext and ssl_x509 then +if luasec_version < 5 and ssl_x509 then -- COMPAT mw/luasec-hg for i=1,#core_defaults.verifyext do -- Remove lsec_ prefix core_defaults.verify[#core_defaults.verify+1] = core_defaults.verifyext[i]:sub(6);