Changeset

2564:6b4fe320a6ea

certmanager: Fix traceback with no LuaSec
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Feb 2010 14:31:25 +0000
parents 2563:1ede33f50ab4
children 2565:a0d22b6a3144
files core/certmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/certmanager.lua	Fri Feb 05 14:22:48 2010 +0000
+++ b/core/certmanager.lua	Fri Feb 05 14:31:25 2010 +0000
@@ -1,6 +1,6 @@
 local configmanager = require "core.configmanager";
 local ssl = ssl;
-local ssl_newcontext = ssl.newcontext;
+local ssl_newcontext = ssl and ssl.newcontext;
 
 local setmetatable = setmetatable;