aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit47625cfc952c23e1102caec097a6803b9e1f29c5 (patch)
treed4835a0d0195d06e2ea465c9447e9b9c398b8bce /core
parent48e395179d9f64d90f8e36d44b3d6fe1f857c264 (diff)
downloadprosody-47625cfc952c23e1102caec097a6803b9e1f29c5.tar.gz
prosody-47625cfc952c23e1102caec097a6803b9e1f29c5.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')
-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);