mod_warn_legacy_tls: Log debug message for acceptable TLS versions
Easy to miss that the module is working as expected and that you're
testing with a non-deprecated TLS version.
--- a/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:29:44 2019 +0100
+++ b/mod_warn_legacy_tls/mod_warn_legacy_tls.lua Sun Nov 03 13:30:25 2019 +0100
@@ -20,5 +20,7 @@
session.send(st.message({ from = host, type = "headline", to = session.full_jid }, warning_message:format(protocol)));
end
end);
+ else
+ module:log("debug", "Using acceptable TLS version: %s", protocol);
end
end);