diff options
Diffstat (limited to 'libs/lucid/luasrc')
-rw-r--r-- | libs/lucid/luasrc/lucid/tcpserver.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lucid/luasrc/lucid/tcpserver.lua b/libs/lucid/luasrc/lucid/tcpserver.lua index 22f0945298..db94ba0ecd 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 |