core/certmanager.lua

changeset 3367
598c33a99a31
parent 3356
cf6be653c619
child 3368
1748a49da906
child 3371
5b32e6f84392
--- 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

mercurial