aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-25 13:25:49 +0200
committerKim Alvefur <zash@zash.se>2017-07-25 13:25:49 +0200
commitc138f645eb41a5f57da99603d19a4b081ff314d9 (patch)
tree03e17d92afffaf8002b7159dfb041b1bef93f437 /util
parent463d63187bdb4eaebb1b42836dd639ac422c1fe3 (diff)
downloadprosody-c138f645eb41a5f57da99603d19a4b081ff314d9.tar.gz
prosody-c138f645eb41a5f57da99603d19a4b081ff314d9.zip
util.dependencies: Add comment about LuaSec compat
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index a259c263..7ec56022 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -103,6 +103,7 @@ function check_dependencies()
["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";