diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-03 18:53:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-03 18:53:35 +0000 |
commit | 9dbc3a879ba2fd80bf6526c8c848bec18ab64da9 (patch) | |
tree | 3d2d5aa2e83b3f76dece6cda964ca2efda571109 /libs/lucid/luasrc | |
parent | 58529e7b7b30f87e47e23a208d07ed0d8acb81bf (diff) |
libs/lucid: make lucid work without nixio tls support
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 b280f5f7fe..266ea29e49 100644 --- a/libs/lucid/luasrc/lucid/tcpserver.lua +++ b/libs/lucid/luasrc/lucid/tcpserver.lua @@ -193,7 +193,7 @@ end -- @return TLS server conext or nil 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" |