aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-05 14:31:25 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-05 14:31:25 +0000
commitefae77c4933e6dac45c51c162d70b2de26220191 (patch)
tree194f114d553103ca15cfcf99f10f4e1e1b5d46f8 /core/certmanager.lua
parent445c0cec5f6167e24abeb90ca8f15948fb160ea8 (diff)
downloadprosody-efae77c4933e6dac45c51c162d70b2de26220191.tar.gz
prosody-efae77c4933e6dac45c51c162d70b2de26220191.zip
certmanager: Fix traceback with no LuaSec
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index dfda3fd8..e5fabdce 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -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;