# HG changeset patch # User Kim Alvefur # Date 1372382675 -7200 # Node ID 79ef0427765fd96a4cb10be94bb4b6169f233812 # Parent 1aa48916eb8b0875fa98c97c30fcc1adcf93ecf5 mod_s2s_log_certs: Minor grammar change diff -r 1aa48916eb8b -r 79ef0427765f mod_s2s_log_certs/mod_s2s_log_certs.lua --- a/mod_s2s_log_certs/mod_s2s_log_certs.lua Fri Jun 28 03:22:48 2013 +0200 +++ b/mod_s2s_log_certs/mod_s2s_log_certs.lua Fri Jun 28 03:24:35 2013 +0200 @@ -17,10 +17,11 @@ local chain_status = session.cert_chain_status; local identity_status = session.cert_identity_status; - module:log("info", "Spotted %s %s certificate used by %s with %s: %s", + module:log("info", "%s has a %s %s certificate with %s: %s", + remote_host, chain_status == "valid" and "trusted" or "untrusted", identity_status or "invalid", - remote_host, digest_algo:upper(), + digest_algo:upper(), digest:upper():gsub("..",":%0"):sub(2)); if do_store then