From bbbad888596d1507bb6c9d72fa7bd12e3a9fb0a2 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Thu, 15 Jul 2010 11:28:14 +0500 Subject: certmanager: Defined default_capath to prevent a global nil access. --- core/certmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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 -- cgit v1.2.3