From 82ca74d1b3bbc23224aced1005579cad1441ff62 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 3 Apr 2010 19:02:18 +0000 Subject: [PATCH] luci-0.9: merge r6014 --- 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 2d82246df..477152ef1 100644 --- a/libs/lucid/luasrc/lucid/tcpserver.lua +++ b/libs/lucid/luasrc/lucid/tcpserver.lua @@ -176,7 +176,7 @@ end function prepare_tls(tlskey) local tls - if tlskey and cursor:get(UCINAME, tlskey) then + if nixio.tls and tlskey and cursor:get(UCINAME, tlskey) then tls = nixio.tls("server") local make = cursor:get(UCINAME, tlskey, "generate") == "1" -- 2.25.1