Software /
code /
prosody
Changeset
6570:70e65ac65219
certmanager: Fix compat for MattJs old LuaSec fork
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Feb 2015 17:23:53 +0100 |
parents | 6569:e6ff3ec99f24 |
children | 6571:4a864b6e8963 6576:b7796a46aec2 |
files | core/certmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/certmanager.lua Thu Feb 05 17:21:05 2015 +0100 +++ b/core/certmanager.lua Thu Feb 05 17:23:53 2015 +0100 @@ -71,7 +71,7 @@ key = true, certificate = true, cafile = true, capath = true, dhparam = true } -if not luasec_has_verifyext and ssl_x509 then +if luasec_version < 5 and ssl_x509 then -- COMPAT mw/luasec-hg for i=1,#core_defaults.verifyext do -- Remove lsec_ prefix core_defaults.verify[#core_defaults.verify+1] = core_defaults.verifyext[i]:sub(6);