aboutsummaryrefslogblamecommitdiffstats
path: root/src/openssl.x509.name.lua
blob: f33339a6bdff87094f52c1276639051c1662e406 (plain) (tree)
1
2
3
4
5
6
7
                                        
                                      



                                            
                                         






                                         
local name = require"_openssl.x509.name"
local auxlib = require"openssl.auxlib"

name.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 name