diff options
author | Kim Alvefur <zash@zash.se> | 2015-02-05 17:23:53 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-02-05 17:23:53 +0100 |
commit | 7c0ead1c91558b669c73affb1e7ef92900c92444 (patch) | |
tree | 8eee74c822461a38bffc62893447aa18b397da8c | |
parent | 4468490bb444bbd3af2028e6df08141920e11432 (diff) | |
download | prosody-7c0ead1c91558b669c73affb1e7ef92900c92444.tar.gz prosody-7c0ead1c91558b669c73affb1e7ef92900c92444.zip |
certmanager: Fix compat for MattJs old LuaSec fork
-rw-r--r-- | core/certmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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); |