Mercurial > prosody-hg
comparison main.lua @ 11:67460500abdd
Remove redundant comments
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 25 Aug 2008 02:10:50 +0100 |
| parents | dcc5ac721c20 |
| children | 90f22275f7ae |
comparison
equal
deleted
inserted
replaced
| 10:a336f0082376 | 11:67460500abdd |
|---|---|
| 39 sessions = {}; | 39 sessions = {}; |
| 40 }; | 40 }; |
| 41 } | 41 } |
| 42 | 42 |
| 43 local hosts, users = hosts, users; | 43 local hosts, users = hosts, users; |
| 44 | |
| 45 --local ssl_ctx, msg = ssl.newcontext { mode = "server", protocol = "sslv23", key = "/home/matthew/ssl_cert/server.key", | |
| 46 -- certificate = "/home/matthew/ssl_cert/server.crt", capath = "/etc/ssl/certs", verify = "none", } | |
| 47 -- | |
| 48 --if not ssl_ctx then error("Failed to initialise SSL/TLS support: "..tostring(msg)); end | |
| 49 | |
| 50 | 44 |
| 51 local ssl_ctx = { mode = "server", protocol = "sslv23", key = "/home/matthew/ssl_cert/server.key", | 45 local ssl_ctx = { mode = "server", protocol = "sslv23", key = "/home/matthew/ssl_cert/server.key", |
| 52 certificate = "/home/matthew/ssl_cert/server.crt", capath = "/etc/ssl/certs", verify = "none", } | 46 certificate = "/home/matthew/ssl_cert/server.crt", capath = "/etc/ssl/certs", verify = "none", } |
| 53 | 47 |
| 54 | 48 |
