aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2024-04-17 16:47:38 +0100
committerMatthew Wild <mwild1@gmail.com>2024-04-17 16:47:38 +0100
commitd1022fe0c475ebbe3ea3bcd610294ef4ff473a70 (patch)
treee484fed7044461b0dfb76cb2a9aa48d62e3a4b3e /plugins/mod_saslauth.lua
parentf29bc1c119de49b053e8bbbc0070f7f9a95bdfe0 (diff)
downloadprosody-d1022fe0c475ebbe3ea3bcd610294ef4ff473a70.tar.gz
prosody-d1022fe0c475ebbe3ea3bcd610294ef4ff473a70.zip
mod_saslauth: Log when tls-exporter is NOT supported, as well as when it is
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index b219d711..b6cd31c8 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -335,6 +335,8 @@ module:hook("stream-features", function(event)
log("debug", "Channel binding 'tls-exporter' supported");
sasl_handler:add_cb_handler("tls-exporter", sasl_tls_exporter);
channel_bindings:add("tls-exporter");
+ else
+ log("debug", "Channel binding 'tls-exporter' not supported");
end
elseif origin.conn.ssl_peerfinished and origin.conn:ssl_peerfinished() then
log("debug", "Channel binding 'tls-unique' supported");