aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-05-12 17:22:02 +0200
committerKim Alvefur <zash@zash.se>2021-05-12 17:22:02 +0200
commitc2ce30433a9dd12436f532be4dd3b0548c2bbae3 (patch)
tree2c16a656364aadcd1a60bc08ef916f4b06f9c8d0 /plugins/mod_s2s/mod_s2s.lua
parent1cd5049c778cd54f88eb349411ccebd36af5ab3e (diff)
downloadprosody-c2ce30433a9dd12436f532be4dd3b0548c2bbae3.tar.gz
prosody-c2ce30433a9dd12436f532be4dd3b0548c2bbae3.zip
mod_dialback: Remove d-w-d feature0.11.9
Backs out 1d0862814bfc and 2fdd71b08126 Largely unused, undocumented and did not have enough tests to provide confidence in its correct operation.
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index b2376b97..c3de28db 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -276,7 +276,7 @@ function make_authenticated(event)
end
--- Helper to check that a session peer's certificate is valid
-function check_cert_status(session)
+local function check_cert_status(session)
local host = session.direction == "outgoing" and session.to_host or session.from_host
local conn = session.conn:socket()
local cert