mod_sasl2: Log when tls-exporter is NOT supported, as well as when it is
authorMatthew Wild <mwild1@gmail.com>
Wed, 17 Apr 2024 16:48:22 +0100
changeset 5893 2597e2113561
parent 5892 432efc39572f
child 5894 ba71fdc8ea73
mod_sasl2: Log when tls-exporter is NOT supported, as well as when it is
mod_sasl2/mod_sasl2.lua
--- 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");