diff options
author | Kim Alvefur <zash@zash.se> | 2017-02-15 23:05:03 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-02-15 23:05:03 +0100 |
commit | f21bbbab6037681ce1496c47213661ad6465a775 (patch) | |
tree | 67fd147c7eafbef789d8a5f9ab9d1fb0dd81bee6 /plugins/mod_tls.lua | |
parent | bd92525bf197b524edd4716f5c0a2773d54c5aa7 (diff) | |
parent | 7a2ed1a9edb96cc8c53cbc1428968b70cfe64f2c (diff) | |
download | prosody-f21bbbab6037681ce1496c47213661ad6465a775.tar.gz prosody-f21bbbab6037681ce1496c47213661ad6465a775.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r-- | plugins/mod_tls.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua index 2b265032..3903a760 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -63,6 +63,7 @@ end local function can_do_tls(session) if not session.conn.starttls then + session.log("debug", "Underlying connection does not support STARTTLS"); return false; elseif session.ssl_ctx ~= nil then return session.ssl_ctx; @@ -77,6 +78,7 @@ local function can_do_tls(session) session.ssl_ctx = ssl_ctx_s2sout; session.ssl_cfg = ssl_cfg_s2sout; else + session.log("debug", "Unknown session type, don't know which TLS context to use"); return false; end if not session.ssl_ctx then |