util/dependencies.lua
changeset 7772 2a7b52437167
parent 7678 decb657bc0a0
child 7782 b1f80447a2b1
child 8226 adfffc5b4e2a
equal deleted inserted replaced
7739:5a07fe977002 7772:2a7b52437167
   100 				["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/";
   100 				["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/";
   101 			}, "SSL/TLS support will not be available");
   101 			}, "SSL/TLS support will not be available");
   102 	elseif not _G.ssl then
   102 	elseif not _G.ssl then
   103 		_G.ssl = ssl;
   103 		_G.ssl = ssl;
   104 		_G.ssl.context = require "ssl.context";
   104 		_G.ssl.context = require "ssl.context";
       
   105 		_G.ssl.x509 = softreq "ssl.x509";
   105 	end
   106 	end
   106 	
   107 	
   107 	local encodings, err = softreq "util.encodings"
   108 	local encodings, err = softreq "util.encodings"
   108 	if not encodings then
   109 	if not encodings then
   109 		if err:match("not found") then
   110 		if err:match("not found") then