Comparison

util/x509.lua @ 12975:d10957394a3c

util: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 17 Mar 2023 16:23:16 +0100
parent 12812:b2d422b88cd6
comparison
equal deleted inserted replaced
12974:ba409c67353b 12975:d10957394a3c
16 -- [SRV-ID] - https://www.rfc-editor.org/rfc/rfc4985.html 16 -- [SRV-ID] - https://www.rfc-editor.org/rfc/rfc4985.html
17 -- [IDNA] - https://www.rfc-editor.org/rfc/rfc5890.html 17 -- [IDNA] - https://www.rfc-editor.org/rfc/rfc5890.html
18 -- [LDAP] - https://www.rfc-editor.org/rfc/rfc4519.html 18 -- [LDAP] - https://www.rfc-editor.org/rfc/rfc4519.html
19 -- [PKIX] - https://www.rfc-editor.org/rfc/rfc5280.html 19 -- [PKIX] - https://www.rfc-editor.org/rfc/rfc5280.html
20 20
21 local nameprep = require "util.encodings".stringprep.nameprep; 21 local nameprep = require "prosody.util.encodings".stringprep.nameprep;
22 local idna_to_ascii = require "util.encodings".idna.to_ascii; 22 local idna_to_ascii = require "prosody.util.encodings".idna.to_ascii;
23 local idna_to_unicode = require "util.encodings".idna.to_unicode; 23 local idna_to_unicode = require "prosody.util.encodings".idna.to_unicode;
24 local base64 = require "util.encodings".base64; 24 local base64 = require "prosody.util.encodings".base64;
25 local log = require "util.logger".init("x509"); 25 local log = require "prosody.util.logger".init("x509");
26 local mt = require "util.multitable"; 26 local mt = require "prosody.util.multitable";
27 local s_format = string.format; 27 local s_format = string.format;
28 local ipairs = ipairs; 28 local ipairs = ipairs;
29 29
30 local _ENV = nil; 30 local _ENV = nil;
31 -- luacheck: std none 31 -- luacheck: std none