Comparison

util/dependencies.lua @ 2170:2abca9cc78b1

Merge with 0.6
author Matthew Wild <mwild1@gmail.com>
date Wed, 25 Nov 2009 15:41:04 +0000
parent 2160:0ef04962e112
parent 2169:c06fdb6b57bd
child 2299:b7d25e1ac716
comparison
equal deleted inserted replaced
2166:fb01f0906564 2170:2abca9cc78b1
73 ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu"; 73 ["Debian/Ubuntu"] = "http://prosody.im/download/start#debian_and_ubuntu";
74 ["luarocks"] = "luarocks install luasec"; 74 ["luarocks"] = "luarocks install luasec";
75 ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/"; 75 ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/";
76 }, "SSL/TLS support will not be available"); 76 }, "SSL/TLS support will not be available");
77 end 77 end
78 else
79 local major, minor, veryminor, patched = ssl._VERSION:match("(%d+)%.(%d+)%.?(%d*)(M?)");
80 if not major or ((tonumber(major) == 0 and (tonumber(minor) or 0) <= 3 and (tonumber(veryminor) or 0) <= 2) and patched ~= "M") then
81 log("error", "This version of LuaSec contains a known bug that causes disconnects, see http://prosody.im/doc/depends");
82 end
78 end 83 end
79 84
80 local encodings, err = softreq "util.encodings" 85 local encodings, err = softreq "util.encodings"
81 if not encodings then 86 if not encodings then
82 if err:match("not found") then 87 if err:match("not found") then