Diff

plugins/mod_s2s/mod_s2s.lua @ 6301:2fdd71b08126

mod_dialback: Short-circuit dialback auth if certificate is considered valid
author Kim Alvefur <zash@zash.se>
date Fri, 04 Jul 2014 21:48:25 +0200
parent 6259:36f611624987
child 6319:92d009af6eba
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Thu Jul 03 15:38:53 2014 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Fri Jul 04 21:48:25 2014 +0200
@@ -235,7 +235,7 @@
 end
 
 --- Helper to check that a session peer's certificate is valid
-local function check_cert_status(session)
+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