Software /
code /
prosody
Diff
plugins/mod_s2s_auth_certs.lua @ 10226:77f900bbbf25
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Aug 2019 23:12:55 +0200 |
parent | 6373:84e7e418c29a |
child | 10454:6c3fccb75b38 |
line wrap: on
line diff
--- a/plugins/mod_s2s_auth_certs.lua Sun Aug 25 21:31:04 2019 +0200 +++ b/plugins/mod_s2s_auth_certs.lua Sun Aug 25 23:12:55 2019 +0200 @@ -17,9 +17,6 @@ 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