Changeset

3368:1748a49da906

certmanager: Defined default_capath to prevent a global nil access.
author Waqas Hussain <waqas20@gmail.com>
date Thu, 15 Jul 2010 11:28:14 +0500
parents 3367:598c33a99a31
children 3369:9a96969d4670
files core/certmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Thu Jul 15 11:25:41 2010 +0500
+++ b/core/certmanager.lua	Thu Jul 15 11:28:14 2010 +0500
@@ -12,6 +12,7 @@
 
 -- 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