diff options
author | Kim Alvefur <zash@zash.se> | 2016-11-28 14:27:59 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-11-28 14:27:59 +0100 |
commit | e719b0a9e020aba08fc31e32e30ccf7c5de04002 (patch) | |
tree | 967ea2ec18ea10b4ea3b1812de7fb96e39c11211 /util | |
parent | f91ba70e322e1ec1fcd42dfc0189fb9b80939034 (diff) | |
download | prosody-e719b0a9e020aba08fc31e32e30ccf7c5de04002.tar.gz prosody-e719b0a9e020aba08fc31e32e30ccf7c5de04002.zip |
util.dependencies: Set ssl.x509 so core.certmanager knows that LuaSec is capable of certificate validation (fixes #781)
Diffstat (limited to 'util')
-rw-r--r-- | util/dependencies.lua | 1 |
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" |