/usr/share/lua/5.1/openssl/x509/altname.lua is in lua-luaossl 20161214-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | local altname = require"_openssl.x509.altname"
local auxlib = require"openssl.auxlib"
altname.interpose("__tostring", function (self)
local t = { }
for k, v in auxlib.pairs(self) do
t[#t + 1] = k .. ":" .. v
end
return table.concat(t, ", ")
end)
return altname
|