diff options
author | William Ahern <william@25thandclement.com> | 2016-06-24 19:14:05 -0700 |
---|---|---|
committer | William Ahern <william@25thandclement.com> | 2016-06-24 19:14:05 -0700 |
commit | c429c7d4945d2cddf43d31bd59b45cadea617f82 (patch) | |
tree | 5458f64fbd3a52e7128f8977715b3ee1cac3098a /src/openssl.x509.altname.lua | |
parent | dac0e48996b48537fa6d1f6b75b39731b9a58cb2 (diff) | |
parent | bddd9f5a79ae4aea43d7dca09157c53e40503bfb (diff) | |
download | luaossl-c429c7d4945d2cddf43d31bd59b45cadea617f82.tar.gz luaossl-c429c7d4945d2cddf43d31bd59b45cadea617f82.tar.bz2 luaossl-c429c7d4945d2cddf43d31bd59b45cadea617f82.zip |
Merge branch 'ashb-csr_san'
Diffstat (limited to 'src/openssl.x509.altname.lua')
-rw-r--r-- | src/openssl.x509.altname.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openssl.x509.altname.lua b/src/openssl.x509.altname.lua index 66f16e7..e8222a0 100644 --- a/src/openssl.x509.altname.lua +++ b/src/openssl.x509.altname.lua @@ -1,9 +1,10 @@ local altname = require"_openssl.x509.altname" +local auxlib = require"openssl.auxlib" altname.interpose("__tostring", function (self) local t = { } - for k, v in pairs(self) do + for k, v in auxlib.pairs(self) do t[#t + 1] = k .. ":" .. v end |