Comparison

util/x509.lua @ 8555:4f0f5b49bb03

vairious: Add annotation when an empty environment is set [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:06:26 +0100
parent 6777:5de6b93d0190
child 9907:54e36a8677bc
comparison
equal deleted inserted replaced
8554:12a68e0d0ecf 8555:4f0f5b49bb03
23 local base64 = require "util.encodings".base64; 23 local base64 = require "util.encodings".base64;
24 local log = require "util.logger".init("x509"); 24 local log = require "util.logger".init("x509");
25 local s_format = string.format; 25 local s_format = string.format;
26 26
27 local _ENV = nil; 27 local _ENV = nil;
28 -- luacheck: std none
28 29
29 local oid_commonname = "2.5.4.3"; -- [LDAP] 2.3 30 local oid_commonname = "2.5.4.3"; -- [LDAP] 2.3
30 local oid_subjectaltname = "2.5.29.17"; -- [PKIX] 4.2.1.6 31 local oid_subjectaltname = "2.5.29.17"; -- [PKIX] 4.2.1.6
31 local oid_xmppaddr = "1.3.6.1.5.5.7.8.5"; -- [XMPP-CORE] 32 local oid_xmppaddr = "1.3.6.1.5.5.7.8.5"; -- [XMPP-CORE]
32 local oid_dnssrv = "1.3.6.1.5.5.7.8.7"; -- [SRV-ID] 33 local oid_dnssrv = "1.3.6.1.5.5.7.8.7"; -- [SRV-ID]