Thu, 15 Jul 2010 11:25:41 +0500
certmanager: Use an empty table as the default ssl config when a global 'ssl' config option isn't specified (fixes a top-level traceback on startup).
core/certmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/certmanager.lua Wed Jul 14 20:21:51 2010 +0500 +++ b/core/certmanager.lua Thu Jul 15 11:25:41 2010 +0500 @@ -11,7 +11,7 @@ module "certmanager" -- Global SSL options if not overridden per-host -local default_ssl_config = configmanager.get("*", "core", "ssl"); +local default_ssl_config = configmanager.get("*", "core", "ssl") or {}; function create_context(host, mode, config) if not ssl then return nil; end