diff options
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index c597f98a..3213a356 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -35,7 +35,11 @@ end local ssl = softreq "ssl" if not ssl then - missingdep("LuaSec", { ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/" }, "SSL/TLS support will not be available"); + if config.get("*", "core", "run_without_ssl") then + log("warn", "Running without SSL support because run_without_ssl is defined in the config"); + else + missingdep("LuaSec", { ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/" }, "SSL/TLS support will not be available"); + end end |