aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s_auth_certs.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
commit47625cfc952c23e1102caec097a6803b9e1f29c5 (patch)
treed4835a0d0195d06e2ea465c9447e9b9c398b8bce /plugins/mod_s2s_auth_certs.lua
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 'plugins/mod_s2s_auth_certs.lua')
-rw-r--r--plugins/mod_s2s_auth_certs.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_s2s_auth_certs.lua b/plugins/mod_s2s_auth_certs.lua
index dd0eb3cb..76e134a7 100644
--- a/plugins/mod_s2s_auth_certs.lua
+++ b/plugins/mod_s2s_auth_certs.lua
@@ -17,9 +17,6 @@ module:hook("s2s-check-certificate", function(event)
local chain_valid, errors;
if conn.getpeerverification then
chain_valid, errors = conn:getpeerverification();
- elseif conn.getpeerchainvalid then -- COMPAT mw/luasec-hg
- chain_valid, errors = conn:getpeerchainvalid();
- errors = (not chain_valid) and { { errors } } or nil;
else
chain_valid, errors = false, { { "Chain verification not supported by this version of LuaSec" } };
end