aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-28 14:27:59 +0100
committerKim Alvefur <zash@zash.se>2016-11-28 14:27:59 +0100
commitc6070699a957f17ec40e80d8561c9c0edb42a5d4 (patch)
tree967ea2ec18ea10b4ea3b1812de7fb96e39c11211 /util/dependencies.lua
parent2069dab95ac5eba91b07f090840cc16797a39c78 (diff)
downloadprosody-c6070699a957f17ec40e80d8561c9c0edb42a5d4.tar.gz
prosody-c6070699a957f17ec40e80d8561c9c0edb42a5d4.zip
util.dependencies: Set ssl.x509 so core.certmanager knows that LuaSec is capable of certificate validation (fixes #781)vault/0.9.12
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r--util/dependencies.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 9ea211dd..491bfd9b 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -102,6 +102,7 @@ function check_dependencies()
elseif not _G.ssl then
_G.ssl = ssl;
_G.ssl.context = require "ssl.context";
+ _G.ssl.x509 = softreq "ssl.x509";
end
local encodings, err = softreq "util.encodings"