Changeset

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
parents 3396:23cf369ed1c3
children 3398:abc4a52aef02
files plugins/mod_tls.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);