aboutsummaryrefslogtreecommitdiffstats
path: root/openssl.x509.altname.lua
blob: 66f16e79d2438cf3853c883eccc8943bd1e1396c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
local altname = require"_openssl.x509.altname"

altname.interpose("__tostring", function (self)
	local t = { }

	for k, v in pairs(self) do
		t[#t + 1] = k .. ":" .. v
	end

	return table.concat(t, ", ")
end)

return altname