# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1456680204 -3600
# Node ID 92e5036bc55c1a09d3ae220a9a82514aade89793
# Parent  f666d50cc32bdc702a8cde3a0cca0009501c2c25
prosodyctl: check certs: Update messages to account for 'ssl' option maybe not existing

diff -r f666d50cc32b -r 92e5036bc55c prosodyctl
--- a/prosodyctl	Sun Feb 28 18:22:23 2016 +0100
+++ b/prosodyctl	Sun Feb 28 18:23:24 2016 +0100
@@ -1220,10 +1220,10 @@
 					print("  Error: "..err);
 					cert_ok = false
 				elseif not ssl_config.certificate then
-					print("  No 'certificate' set in ssl option for "..host)
+					print("  No 'certificate' found for "..host)
 					cert_ok = false
 				elseif not ssl_config.key then
-					print("  No 'key' set in ssl option for "..host)
+					print("  No 'key' found for for "..host)
 					cert_ok = false
 				else
 					local key, err = io.open(ssl_config.key); -- Permissions check only