Comparison

plugins/mod_tls.lua @ 5698:4a244d10a3ca

mod_tls: Remove debug statement
author Kim Alvefur <zash@zash.se>
date Sun, 16 Jun 2013 15:01:31 +0200
parent 5685:f965ac6b7ce1
child 5776:bd0ff8ae98a8
comparison
equal deleted inserted replaced
5697:956df0f1cb70 5698:4a244d10a3ca
53 return false; 53 return false;
54 elseif session.ssl_ctx then 54 elseif session.ssl_ctx then
55 return true; 55 return true;
56 end 56 end
57 if session.type == "c2s_unauthed" then 57 if session.type == "c2s_unauthed" then
58 module:log("debug", "session.ssl_ctx = ssl_ctx_c2s;")
59 session.ssl_ctx = ssl_ctx_c2s; 58 session.ssl_ctx = ssl_ctx_c2s;
60 elseif session.type == "s2sin_unauthed" and allow_s2s_tls then 59 elseif session.type == "s2sin_unauthed" and allow_s2s_tls then
61 session.ssl_ctx = ssl_ctx_s2sin; 60 session.ssl_ctx = ssl_ctx_s2sin;
62 elseif session.direction == "outgoing" and allow_s2s_tls then 61 elseif session.direction == "outgoing" and allow_s2s_tls then
63 session.ssl_ctx = ssl_ctx_s2sout; 62 session.ssl_ctx = ssl_ctx_s2sout;