Comparison

util/x509.lua @ 6153:8fb54ec34741

util.x509: Remove unused imports
author Kim Alvefur <zash@zash.se>
date Fri, 25 Apr 2014 02:47:09 +0200
parent 6152:fbab74c28e31
child 6708:d2beb98ece29
comparison
equal deleted inserted replaced
6152:fbab74c28e31 6153:8fb54ec34741
20 20
21 local nameprep = require "util.encodings".stringprep.nameprep; 21 local nameprep = require "util.encodings".stringprep.nameprep;
22 local idna_to_ascii = require "util.encodings".idna.to_ascii; 22 local idna_to_ascii = require "util.encodings".idna.to_ascii;
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 pairs, ipairs = pairs, ipairs;
26 local s_format = string.format; 25 local s_format = string.format;
27 local t_insert = table.insert;
28 local t_concat = table.concat;
29 26
30 module "x509" 27 module "x509"
31 28
32 local oid_commonname = "2.5.4.3"; -- [LDAP] 2.3 29 local oid_commonname = "2.5.4.3"; -- [LDAP] 2.3
33 local oid_subjectaltname = "2.5.29.17"; -- [PKIX] 4.2.1.6 30 local oid_subjectaltname = "2.5.29.17"; -- [PKIX] 4.2.1.6