Comparison

core/certmanager.lua @ 6547:2f65de21ff56

certmanager: Make global variable access explicit
author Matthew Wild <mwild1@gmail.com>
date Tue, 20 Jan 2015 11:29:38 +0000
parent 6526:873538f0b18c
child 6564:bcf32653cab7
comparison
equal deleted inserted replaced
6546:3426e903c48d 6547:2f65de21ff56
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local configmanager = require "core.configmanager"; 9 local configmanager = require "core.configmanager";
10 local log = require "util.logger".init("certmanager"); 10 local log = require "util.logger".init("certmanager");
11 local ssl = ssl; 11 local ssl = _G.ssl;
12 local ssl_newcontext = ssl and ssl.newcontext; 12 local ssl_newcontext = ssl and ssl.newcontext;
13 local new_config = require"util.sslconfig".new; 13 local new_config = require"util.sslconfig".new;
14 14
15 local tostring = tostring; 15 local tostring = tostring;
16 local pairs = pairs; 16 local pairs = pairs;