aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.x509.altname.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/openssl.x509.altname.lua')
-rw-r--r--src/openssl.x509.altname.lua3
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