aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-08-04 17:33:00 +0200
committerKim Alvefur <zash@zash.se>2013-08-04 17:33:00 +0200
commit47ec51ca0761ccb2b775a364a04811c4ee66e3a6 (patch)
tree4e156fe143e1b029c54491f40c311f02a95f3cf4 /plugins/mod_s2s/mod_s2s.lua
parent14d72bec0f68fde660609ff40be1e9d86c543598 (diff)
downloadprosody-47ec51ca0761ccb2b775a364a04811c4ee66e3a6.tar.gz
prosody-47ec51ca0761ccb2b775a364a04811c4ee66e3a6.zip
mod_s2s: Log certificate identity validation result
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 5a2af968..ccf85012 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -255,6 +255,7 @@ local function check_cert_status(session)
else
session.cert_identity_status = "invalid"
end
+ (session.log or log)("debug", "certificate identity validation result: %s", session.cert_identity_status);
end
end
end