sync lucid

This commit is contained in:
Steven Barth 2009-05-28 13:50:05 +00:00
parent 20d2e99010
commit d294f13444

View file

@ -170,7 +170,7 @@ function prepare_socket(family, host, port, opts, backlog)
end
function prepare_tls(tlskey)
local tls = nixio.tls()
local tls = nixio.tls("server")
if tlskey and cursor:get(UCINAME, tlskey) then
local cert = cursor:get(UCINAME, tlskey, "cert")
if cert then