aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-04-19 11:14:11 +0200
committerKim Alvefur <zash@zash.se>2023-04-19 11:14:11 +0200
commit0d5af426ca380385d99cbc78a0bc9a40ff0e9890 (patch)
tree5298464f5e80071361163ba8c2b5b5e5e79651f0 /plugins
parentf4c4829d0f41c19199691a0d7c7110ae82bc4d81 (diff)
downloadprosody-0d5af426ca380385d99cbc78a0bc9a40ff0e9890.tar.gz
prosody-0d5af426ca380385d99cbc78a0bc9a40ff0e9890.zip
mod_tls: Drop request for client certificates on outgoing connections
It is the other end who should request client certificates for these connections, we only need to send ours. Hopefully this was treated as a noop, so probably no harm in keeping it. But hey, spring cleaning? :)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_tls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index dd23f622..6fd089ff 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -62,7 +62,7 @@ function module.load(reload)
module:log("debug", "Creating context for s2sout");
-- for outgoing server connections
- ssl_ctx_s2sout, err_s2sout, ssl_cfg_s2sout = create_context(host.host, "client", host_s2s, host_ssl, global_s2s, request_client_certs, xmpp_alpn);
+ ssl_ctx_s2sout, err_s2sout, ssl_cfg_s2sout = create_context(host.host, "client", host_s2s, host_ssl, global_s2s, xmpp_alpn);
if not ssl_ctx_s2sout then module:log("error", "Error creating contexts for s2sout: %s", err_s2sout); end
module:log("debug", "Creating context for s2sin");