Software /
code /
prosody
Comparison
core/certmanager.lua @ 4411:cf4e49b250c7
Merge with Zash
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 02 Nov 2011 07:17:26 +0000 |
parent | 4408:21881619a394 |
child | 4656:43469a2d124d |
comparison
equal
deleted
inserted
replaced
4410:2928a74357c8 | 4411:cf4e49b250c7 |
---|---|
73 elseif reason == "(null)" or not reason then | 73 elseif reason == "(null)" or not reason then |
74 reason = "Check that the file exists and the permissions are correct"; | 74 reason = "Check that the file exists and the permissions are correct"; |
75 else | 75 else |
76 reason = "Reason: "..tostring(reason):lower(); | 76 reason = "Reason: "..tostring(reason):lower(); |
77 end | 77 end |
78 log("error", "SSL/TLS: Failed to load %s: %s", file, reason); | 78 log("error", "SSL/TLS: Failed to load %s: %s (host: %s)", file, reason, host); |
79 else | 79 else |
80 log("error", "SSL/TLS: Error initialising for host %s: %s", host, err ); | 80 log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host); |
81 end | 81 end |
82 end | 82 end |
83 return ctx, err; | 83 return ctx, err; |
84 end | 84 end |
85 | 85 |