util.sslconfig: Treat 'curveslist', added in LuaSec 0.7, as a colon-separated list, like ciphers (see #879, #943, #951)
authorKim Alvefur <zash@zash.se>
Wed, 27 Sep 2017 15:38:46 +0200
changeset 8281 a349299038ff
parent 8280 57c5dd08ff0a
child 8282 92cddfe65003
util.sslconfig: Treat 'curveslist', added in LuaSec 0.7, as a colon-separated list, like ciphers (see #879, #943, #951)
util/sslconfig.lua
--- a/util/sslconfig.lua	Wed Sep 27 15:37:10 2017 +0200
+++ b/util/sslconfig.lua	Wed Sep 27 15:38:46 2017 +0200
@@ -63,6 +63,9 @@
 	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