aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-27 15:38:46 +0200
committerKim Alvefur <zash@zash.se>2017-09-27 15:38:46 +0200
commit4e7309b640ff6b49aa1d2416dde55418ab25d61a (patch)
tree56fe9d39a6647773a32242a04d8241427ae080ab
parent3e2f632da3f520c894058f571c0911f3aa15cc71 (diff)
downloadprosody-4e7309b640ff6b49aa1d2416dde55418ab25d61a.tar.gz
prosody-4e7309b640ff6b49aa1d2416dde55418ab25d61a.zip
util.sslconfig: Treat 'curveslist', added in LuaSec 0.7, as a colon-separated list, like ciphers (see #879, #943, #951)
-rw-r--r--util/sslconfig.lua3
1 files changed, 3 insertions, 0 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