Comparison

core/certmanager.lua @ 6165:6a184b16b717

core.certmanager, core.moduleapi, mod_storage_sql, mod_storage_sql2: Import from util.paths
author Kim Alvefur <zash@zash.se>
date Fri, 09 May 2014 19:35:29 +0200
parent 6089:d774cb85664b
child 6293:851fb5e9fa0c
comparison
equal deleted inserted replaced
6164:ef4024f6bc40 6165:6a184b16b717
17 local io_open = io.open; 17 local io_open = io.open;
18 local t_concat = table.concat; 18 local t_concat = table.concat;
19 local t_insert = table.insert; 19 local t_insert = table.insert;
20 20
21 local prosody = prosody; 21 local prosody = prosody;
22 local resolve_path = configmanager.resolve_relative_path; 22 local resolve_path = require"util.paths".resolve_relative_path;
23 local config_path = prosody.paths.config; 23 local config_path = prosody.paths.config;
24 24
25 local luasec_has_noticket, luasec_has_verifyext, luasec_has_no_compression; 25 local luasec_has_noticket, luasec_has_verifyext, luasec_has_no_compression;
26 if ssl then 26 if ssl then
27 local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)"); 27 local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)");