aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-07-15 11:28:14 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-07-15 11:28:14 +0500
commitbbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2 (patch)
tree648b9afcab62bcdaf9eee22d3e2f69bf404ce282
parentcf0bd27f7cd47a3c4bd79d31f0952f36f8a7f37f (diff)
downloadprosody-bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2.tar.gz
prosody-bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2.zip
certmanager: Defined default_capath to prevent a global nil access.
-rw-r--r--core/certmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 6b31b21e..7194a46a 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -12,6 +12,7 @@ module "certmanager"
-- Global SSL options if not overridden per-host
local default_ssl_config = configmanager.get("*", "core", "ssl") or {};
+local default_capath = "/etc/ssl/certs";
function create_context(host, mode, config)
if not ssl then return nil; end