certmanager: Localize tonumber
authorMatthew Wild <mwild1@gmail.com>
Thu, 18 Feb 2016 13:48:45 +0000 (13:48 +0000)
committerMatthew Wild <mwild1@gmail.com>
Thu, 18 Feb 2016 13:48:45 +0000 (13:48 +0000)
core/certmanager.lua

index 978a9efcfd4ba0209b8217cc97dcc5095fc336a9..a4c9d891cbc2424003bdfb07681a5b8d1cb1a08b 100644 (file)
@@ -25,7 +25,7 @@ local ssl_newcontext = ssl.newcontext;
 local new_config = require"util.sslconfig".new;
 local stat = require "lfs".attributes;
 
-local tostring = tostring;
+local tonumber, tostring = tonumber, tostring;
 local pairs = pairs;
 local type = type;
 local io_open = io.open;