Mercurial > prosody-hg
comparison util/dependencies.lua @ 8224:776789a98047
util.dependencies: Add comment about LuaSec compat
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 25 Jul 2017 13:25:49 +0200 |
| parents | adfffc5b4e2a |
| children | 97b3ca502547 |
comparison
equal
deleted
inserted
replaced
| 8223:adfffc5b4e2a | 8224:776789a98047 |
|---|---|
| 101 ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu"; | 101 ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu"; |
| 102 ["luarocks"] = "luarocks install luasec"; | 102 ["luarocks"] = "luarocks install luasec"; |
| 103 ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; | 103 ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; |
| 104 }, "SSL/TLS support will not be available"); | 104 }, "SSL/TLS support will not be available"); |
| 105 elseif not _G.ssl then | 105 elseif not _G.ssl then |
| 106 -- COMPAT Code expecting LuaSec to export as a global (see #749) | |
| 106 _G.ssl = ssl; | 107 _G.ssl = ssl; |
| 107 _G.ssl.context = require "ssl.context"; | 108 _G.ssl.context = require "ssl.context"; |
| 108 _G.ssl.x509 = softreq "ssl.x509"; | 109 _G.ssl.x509 = softreq "ssl.x509"; |
| 109 end | 110 end |
| 110 | 111 |
