diff options
-rw-r--r-- | plugins/mod_tls.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua index 7fb9bb81..cd4f3acf 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -34,6 +34,7 @@ module:add_handler("s2sin_unauthed", "starttls", xmlns_starttls, session:reset_stream(); session.conn.starttls(); session.log("info", "TLS negotiation started for incoming s2s..."); + session.secure = false; else -- FIXME: What reply? session.log("warn", "Attempt to start TLS, but TLS is not available on this s2s connection"); |