From bc13033a0eef68eca6e213e4b1a3e43e2f4f1589 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 25 Jul 2017 13:25:49 +0200 Subject: util.dependencies: Add comment about LuaSec compat --- util/dependencies.lua | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.3