Changeset

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
parents 7736:5a07fe977002
children 7777:65836cf2d057 7804:4e649ffdb314
files util/dependencies.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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"