Diff

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
line wrap: on
line diff
--- a/core/certmanager.lua	Fri Jan 16 14:02:14 2015 +0100
+++ b/core/certmanager.lua	Tue Jan 20 11:29:38 2015 +0000
@@ -8,7 +8,7 @@
 
 local configmanager = require "core.configmanager";
 local log = require "util.logger".init("certmanager");
-local ssl = ssl;
+local ssl = _G.ssl;
 local ssl_newcontext = ssl and ssl.newcontext;
 local new_config = require"util.sslconfig".new;