aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-19 21:57:40 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-19 21:57:40 +0100
commit425452286cd7d2edba1743e8ed9283301610b04c (patch)
treefe209ab599565d9003dde15115e695b420c8e58f /core
parent18369f2a720f9ba004e31f648c9359439f57757a (diff)
downloadprosody-425452286cd7d2edba1743e8ed9283301610b04c.tar.gz
prosody-425452286cd7d2edba1743e8ed9283301610b04c.zip
certmanager: tonumber() (fix for 0b8134015635)
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index f8f449c9..d524a07e 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -18,7 +18,7 @@ local resolve_path = configmanager.resolve_relative_path;
local config_path = prosody.paths.config;
local luasec_major, luasec_minor = ssl._VERSION:match("^(%d+)%.(%d+)");
-local luasec_has_noticket = luasec_major>0 or luasec_minor>=4;
+local luasec_has_noticket = tonumber(luasec_major)>0 or tonumber(luasec_minor)>=4;
module "certmanager"