From d294f134443f2ab59219cf602eca5eeb6d2d59c8 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 28 May 2009 13:50:05 +0000 Subject: sync lucid --- libs/lucid/luasrc/lucid/tcpserver.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/lucid/luasrc/lucid/tcpserver.lua b/libs/lucid/luasrc/lucid/tcpserver.lua index 22f094529..db94ba0ec 100644 --- a/libs/lucid/luasrc/lucid/tcpserver.lua +++ b/libs/lucid/luasrc/lucid/tcpserver.lua @@ -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 -- cgit v1.2.3