projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58529e7
)
libs/lucid: make lucid work without nixio tls support
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 18:53:35 +0000
(18:53 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Apr 2010 18:53:35 +0000
(18:53 +0000)
libs/lucid/luasrc/lucid/tcpserver.lua
patch
|
blob
|
history
diff --git
a/libs/lucid/luasrc/lucid/tcpserver.lua
b/libs/lucid/luasrc/lucid/tcpserver.lua
index b280f5f7fe88e3b2873326e8a24f8515b67df5ed..266ea29e490de3d9d81fe00d14a7110eceaa3d18 100644
(file)
--- 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"