summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-05-28 13:50:05 +0000
committerSteven Barth <steven@midlink.org>2009-05-28 13:50:05 +0000
commitd294f134443f2ab59219cf602eca5eeb6d2d59c8 (patch)
tree6e4d1215fea93fb125ebc0c46281a9cfdca549b3 /libs/lucid
parent20d2e99010f067cd45a7bcfa93fe10862882b3a8 (diff)
sync lucid
Diffstat (limited to 'libs/lucid')
-rw-r--r--libs/lucid/luasrc/lucid/tcpserver.lua2
1 files changed, 1 insertions, 1 deletions
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