Software /
code /
prosody
Changeset
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 | 8223:adfffc5b4e2a |
children | 8232:176b7f4e4ac9 |
files | util/dependencies.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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";