Software /
code /
prosody
Comparison
core/certmanager.lua @ 2738:e253dd4714d5
certmanager: Fix nil global access (thanks Marc)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Mar 2010 14:49:56 +0000 |
parent | 2733:65ad0fdb17ba |
child | 2739:7339c2720b39 |
comparison
equal
deleted
inserted
replaced
2735:65bbc4b67733 | 2738:e253dd4714d5 |
---|---|
1 local configmanager = require "core.configmanager"; | 1 local configmanager = require "core.configmanager"; |
2 local log = require "util.logger".init("certmanager"); | 2 local log = require "util.logger".init("certmanager"); |
3 local ssl = ssl; | 3 local ssl = ssl; |
4 local ssl_newcontext = ssl and ssl.newcontext; | 4 local ssl_newcontext = ssl and ssl.newcontext; |
5 | 5 |
6 local setmetatable = setmetatable; | 6 local setmetatable, tostring = setmetatable, tostring; |
7 | 7 |
8 local prosody = prosody; | 8 local prosody = prosody; |
9 | 9 |
10 module "certmanager" | 10 module "certmanager" |
11 | 11 |