equal
deleted
inserted
replaced
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 |