Comparison

core/certmanager.lua @ 4925:55f6e0673e33

certmanager: Add quotes around cert file path when logging.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 12 Jun 2012 17:02:35 +0500
parent 4900:d885ca14362d
child 4990:75fe91372f92
comparison
equal deleted inserted replaced
4924:d8b9fe5900a2 4925:55f6e0673e33
76 elseif reason == "(null)" or not reason then 76 elseif reason == "(null)" or not reason then
77 reason = "Check that the file exists and the permissions are correct"; 77 reason = "Check that the file exists and the permissions are correct";
78 else 78 else
79 reason = "Reason: "..tostring(reason):lower(); 79 reason = "Reason: "..tostring(reason):lower();
80 end 80 end
81 log("error", "SSL/TLS: Failed to load %s: %s (for %s)", file, reason, host); 81 log("error", "SSL/TLS: Failed to load '%s': %s (for %s)", file, reason, host);
82 else 82 else
83 log("error", "SSL/TLS: Error initialising for %s: %s", host, err); 83 log("error", "SSL/TLS: Error initialising for %s: %s", host, err);
84 end 84 end
85 end 85 end
86 return ctx, err; 86 return ctx, err;