aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit0f253b261ff167836c813d3f3ae50629c44960e8 (patch)
tree56fe9d39a6647773a32242a04d8241427ae080ab /util
parent942b98607121833680f9e17ee824d0daafd0a7e6 (diff)
downloadprosody-0f253b261ff167836c813d3f3ae50629c44960e8.tar.gz
prosody-0f253b261ff167836c813d3f3ae50629c44960e8.zip
util.sslconfig: Treat 'curveslist', added in LuaSec 0.7, as a colon-separated list, like ciphers (see #879, #943, #951)
Diffstat (limited to 'util')
-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