aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-29 13:45:03 +0200
committerKim Alvefur <zash@zash.se>2017-09-29 13:45:03 +0200
commit753dbfaf91c8855555370310ecd1ac228b2ad6c8 (patch)
treecd04cb8a03e077a91511ed8d509a4e2e83588628 /util
parent9c9d5678b0e9918da455eb49994c747d777b0775 (diff)
parent7c0cd1c22e29c9e3e9db902815ca38d73260fd68 (diff)
downloadprosody-753dbfaf91c8855555370310ecd1ac228b2ad6c8.tar.gz
prosody-753dbfaf91c8855555370310ecd1ac228b2ad6c8.zip
Merge 0.10->trunk
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;