Software /
code /
prosody
Changeset
1926:e1c5b537f240
mod_tls: Mark sessions as not secure when negotiating outward TLS, so they get marked secure later. Fixes missing (encrypted) for outgoing sessions in s2s:show(). Thanks albert, McKael :)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 06 Oct 2009 10:34:13 +0100 |
parents | 1925:6897bd311afa |
children | 1927:c3384860e23f |
files | plugins/mod_tls.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Mon Oct 05 22:15:32 2009 +0100 +++ b/plugins/mod_tls.lua Tue Oct 06 10:34:13 2009 +0100 @@ -87,5 +87,6 @@ local format, to_host, from_host = string.format, session.to_host, session.from_host; session:reset_stream(); session.conn.starttls(true); + session.secure = false; return true; end);