Software /
code /
prosody
Comparison
core/certmanager.lua @ 10227:eeb711b92da5
core.certmanager: Remove unused import [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Aug 2019 23:25:42 +0200 |
parent | 10226:77f900bbbf25 |
child | 10237:a36af4570b39 |
comparison
equal
deleted
inserted
replaced
10226:77f900bbbf25 | 10227:eeb711b92da5 |
---|---|
18 end | 18 end |
19 | 19 |
20 local configmanager = require "core.configmanager"; | 20 local configmanager = require "core.configmanager"; |
21 local log = require "util.logger".init("certmanager"); | 21 local log = require "util.logger".init("certmanager"); |
22 local ssl_context = ssl.context or softreq"ssl.context"; | 22 local ssl_context = ssl.context or softreq"ssl.context"; |
23 local ssl_x509 = ssl.x509 or softreq"ssl.x509"; | |
24 local ssl_newcontext = ssl.newcontext; | 23 local ssl_newcontext = ssl.newcontext; |
25 local new_config = require"util.sslconfig".new; | 24 local new_config = require"util.sslconfig".new; |
26 local stat = require "lfs".attributes; | 25 local stat = require "lfs".attributes; |
27 | 26 |
28 local tonumber, tostring = tonumber, tostring; | 27 local tonumber, tostring = tonumber, tostring; |