From 16fa172b23940ae510b85d6dde51625333757f2b Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 22 Jul 2010 13:13:28 +0100 Subject: mod_tls: Remove extraneous flag to starttls() for s2sout connecections --- plugins/mod_tls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua index 8b96aa15..a2667ff6 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -83,7 +83,7 @@ module:hook_stanza(xmlns_starttls, "proceed", function (session, stanza) 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); -- cgit v1.2.3