Mercurial > prosody-modules
changeset 5889:2597e2113561
mod_sasl2: Log when tls-exporter is NOT supported, as well as when it is
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 17 Apr 2024 16:48:22 +0100 |
parents | 432efc39572f |
children | ba71fdc8ea73 |
files | mod_sasl2/mod_sasl2.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua Tue Apr 16 15:01:40 2024 +0100 +++ b/mod_sasl2/mod_sasl2.lua Wed Apr 17 16:48:22 2024 +0100 @@ -65,6 +65,8 @@ 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");