diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-07-15 11:28:14 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-07-15 11:28:14 +0500 |
commit | bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2 (patch) | |
tree | 648b9afcab62bcdaf9eee22d3e2f69bf404ce282 /core/certmanager.lua | |
parent | cf0bd27f7cd47a3c4bd79d31f0952f36f8a7f37f (diff) | |
download | prosody-bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2.tar.gz prosody-bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2.zip |
certmanager: Defined default_capath to prevent a global nil access.
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r-- | core/certmanager.lua | 1 |
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 |