aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/sslconfig.lua3
-rw-r--r--util/throttle.lua1
2 files changed, 3 insertions, 1 deletions
diff --git a/util/sslconfig.lua b/util/sslconfig.lua
index 931502b9..4c4e1d48 100644
--- a/util/sslconfig.lua
+++ b/util/sslconfig.lua
@@ -63,6 +63,9 @@ function finalisers.ciphers(cipherlist)
return cipherlist;
end
+-- Curve list too
+finalisers.curveslist = finalisers.ciphers;
+
-- protocol = "x" should enable only that protocol
-- protocol = "x+" should enable x and later versions
diff --git a/util/throttle.lua b/util/throttle.lua
index a8191886..1012f78a 100644
--- a/util/throttle.lua
+++ b/util/throttle.lua
@@ -1,7 +1,6 @@
local gettime = require "util.time".now
local setmetatable = setmetatable;
-local floor = math.floor;
local _ENV = nil;