changeset 12488 | fb65b5a033b2 |
parent 12487 | 988a3a7e1f35 |
child 12606 | 9184fe3d489a |
--- a/plugins/mod_tls.lua Sat Apr 02 11:18:57 2022 +0200 +++ b/plugins/mod_tls.lua Fri Sep 17 21:43:54 2021 +0200 @@ -193,7 +193,7 @@ if session.type == "s2sout_unauthed" and can_do_tls(session) then module:log("debug", "Proceeding with TLS on s2sout..."); session:reset_stream(); - session.conn:starttls(session.ssl_ctx); + session.conn:starttls(session.ssl_ctx, session.to_host); session.secure = false; return true; end