aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-10-26 18:30:47 +0100
committerMatthew Wild <mwild1@gmail.com>2023-10-26 18:30:47 +0100
commitc7cf6a8dc32680a207a3b616756a4f21ec4d4709 (patch)
tree4556ec51b703e4420a806287dcfa8813388cd27b
parent18db016c2f067c9886845b7fa9614f0653eb4103 (diff)
downloadprosody-c7cf6a8dc32680a207a3b616756a4f21ec4d4709.tar.gz
prosody-c7cf6a8dc32680a207a3b616756a4f21ec4d4709.zip
mod_saslauth: Clear 'auto' from endpoint hash var, it's not a real hash (thanks tmolitor)
-rw-r--r--plugins/mod_saslauth.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 4a5b744d..f4ee1f7f 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -335,6 +335,7 @@ module:hook("stream-features", function(event)
local certfile;
if tls_server_end_point_hash == "auto" then
+ tls_server_end_point_hash = nil;
local ssl_cfg = origin.ssl_cfg;
if not ssl_cfg then
local server = origin.conn:server();