aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-08-25 23:12:55 +0200
committerKim Alvefur <zash@zash.se>2019-08-25 23:12:55 +0200
commitb16782257d441196d7fbab2823ba8fa878c4c056 (patch)
treed4835a0d0195d06e2ea465c9447e9b9c398b8bce /core/certmanager.lua
parent1295efd944da3e95e66243eab2ac4fe0b4de556e (diff)
downloadprosody-b16782257d441196d7fbab2823ba8fa878c4c056.tar.gz
prosody-b16782257d441196d7fbab2823ba8fa878c4c056.zip
Remove COMPAT with temporary luasec fork
The changes in the temporary fork were merged into mainline luasec ca 2013 and included in the 0.5 release in 2014.
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 5d3cc2c1..f81429ee 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -148,13 +148,6 @@ local path_options = { -- These we pass through resolve_path()
key = true, certificate = true, cafile = true, capath = true, dhparam = true
}
-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);
- end
-end
-
local function create_context(host, mode, ...)
local cfg = new_config();
cfg:apply(core_defaults);