aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:47 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-10 10:31:47 +0100
commit4e866f49ae456418e2339c69055af232842016e2 (patch)
tree790134dfc653885fed63c26d2dcf166b4cf4442f
parent8ba629387afe19f3e8c8452b89a5bbf13f153c2f (diff)
parentc1d13724baae419c8b3c7df47e0f93c4e71ca5d8 (diff)
downloadprosody-4e866f49ae456418e2339c69055af232842016e2.tar.gz
prosody-4e866f49ae456418e2339c69055af232842016e2.zip
Merge
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 42e4eb50..0d735e70 100755
--- a/prosody
+++ b/prosody
@@ -115,7 +115,7 @@ end);
eventmanager.fire_event("server-starting");
-local global_ssl_ctx = config.get("*", "core", "ssl");
+local global_ssl_ctx = ssl and config.get("*", "core", "ssl");
if global_ssl_ctx then
local default_ssl_ctx = { mode = "server", protocol = "sslv23", capath = "/etc/ssl/certs", verify = "none"; };
setmetatable(global_ssl_ctx, { __index = default_ssl_ctx });