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
commit8ae2b88fa049b2df5a414566346225062ac028ec (patch)
tree56fe9d39a6647773a32242a04d8241427ae080ab
parentb080aec43ae50bf1cb9396e06d4c37401b50bf9d (diff)
downloadprosody-8ae2b88fa049b2df5a414566346225062ac028ec.tar.gz
prosody-8ae2b88fa049b2df5a414566346225062ac028ec.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