Software /
code /
prosody
Diff
util/dependencies.lua @ 7769:2a7b52437167 0.9.12
util.dependencies: Set ssl.x509 so core.certmanager knows that LuaSec is capable of certificate validation (fixes #781)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 28 Nov 2016 14:27:59 +0100 |
parent | 7675:decb657bc0a0 |
child | 7779:b1f80447a2b1 |
child | 8223:adfffc5b4e2a |
line wrap: on
line diff
--- a/util/dependencies.lua Tue Nov 22 15:28:24 2016 +0100 +++ b/util/dependencies.lua Mon Nov 28 14:27:59 2016 +0100 @@ -102,6 +102,7 @@ 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"