Changeset

4855:a31ea431d906

certmanager: Adjust error messages to be non-specific about 'host' (so we can specify a service name instead ffor SSL)
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 20:24:15 +0100
parents 4854:dab55c6f7710
children 4856:3e3e282f20a3
files core/certmanager.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Fri May 11 18:55:23 2012 +0100
+++ b/core/certmanager.lua	Fri May 11 20:24:15 2012 +0100
@@ -75,9 +75,9 @@
 			else
 				reason = "Reason: "..tostring(reason):lower();
 			end
-			log("error", "SSL/TLS: Failed to load %s: %s (host: %s)", file, reason, host);
+			log("error", "SSL/TLS: Failed to load %s: %s (for %s)", file, reason, host);
 		else
-			log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host);
+			log("error", "SSL/TLS: Error initialising for %s: %s", host, err);
 		end
 	end
 	return ctx, err;