Software /
code /
prosody
Diff
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 |
parent | 8223:adfffc5b4e2a |
child | 8234:97b3ca502547 |
line wrap: on
line diff
--- a/util/dependencies.lua Tue Jul 25 13:16:31 2017 +0200 +++ b/util/dependencies.lua Tue Jul 25 13:25:49 2017 +0200 @@ -103,6 +103,7 @@ ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; }, "SSL/TLS support will not be available"); elseif not _G.ssl then + -- COMPAT Code expecting LuaSec to export as a global (see #749) _G.ssl = ssl; _G.ssl.context = require "ssl.context"; _G.ssl.x509 = softreq "ssl.x509";