Software /
code /
prosody
Diff
plugins/mod_tls.lua @ 3397:f376f0bd1d1f
mod_tls: Remove extraneous flag to starttls() for s2sout connecections
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 22 Jul 2010 13:13:28 +0100 |
parent | 2933:e68ff49fa79b |
child | 3571:675d65036f31 |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Thu Jul 22 11:43:42 2010 +0100 +++ b/plugins/mod_tls.lua Thu Jul 22 13:13:28 2010 +0100 @@ -83,7 +83,7 @@ module:log("debug", "Proceeding with TLS on s2sout..."); session:reset_stream(); local ssl_ctx = session.from_host and hosts[session.from_host].ssl_ctx or global_ssl_ctx; - session.conn:starttls(ssl_ctx, true); + session.conn:starttls(ssl_ctx); session.secure = false; return true; end);