Changeset

5766:e6a9085f0ac3

mod_s2s: Log certificate identity validation result
author Kim Alvefur <zash@zash.se>
date Sun, 04 Aug 2013 17:33:00 +0200
parents 5758:ebc074918173
children 5767:3a30ad76a86a
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Wed Jul 24 21:49:36 2013 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Sun Aug 04 17:33:00 2013 +0200
@@ -255,6 +255,7 @@
 				else
 					session.cert_identity_status = "invalid"
 				end
+				(session.log or log)("debug", "certificate identity validation result: %s", session.cert_identity_status);
 			end
 		end
 	end