diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:51:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:51:53 +0100 |
commit | 6e6adedce2f10c4bfe0d20d978298abd97a89575 (patch) | |
tree | 006aa4bb6fdd714f3b6ec7c97e2ca578467d193e /plugins | |
parent | 1930de3de81d9d1f89d12dd854c075cf510dd2f5 (diff) | |
download | prosody-6e6adedce2f10c4bfe0d20d978298abd97a89575.tar.gz prosody-6e6adedce2f10c4bfe0d20d978298abd97a89575.zip |
mod_tls: Mark session as not secure before negotiating TLS
Diffstat (limited to 'plugins')
-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"); |