aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.x509.name.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/openssl.x509.name.lua')
-rw-r--r--src/openssl.x509.name.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openssl.x509.name.lua b/src/openssl.x509.name.lua
index a531502..f33339a 100644
--- a/src/openssl.x509.name.lua
+++ b/src/openssl.x509.name.lua
@@ -1,9 +1,10 @@
local name = require"_openssl.x509.name"
+local auxlib = require"openssl.auxlib"
name.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