From 6a847fea041075cc287008ce6a4963a179e6e3b0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 2 Aug 2019 15:32:04 +0200 Subject: luci-app-openvpn: use DynamicList for tls_ciphersuites Signed-off-by: Florian Eckert --- .../luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua') diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index f6a6849a5e..18b106c32e 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -700,9 +700,13 @@ local knownParams = { "EXP-RC4-MD5" }, translate("TLS cipher") }, - { Value, + { DynamicList, "tls_ciphersuites", - "TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256", + { + "TLS_AES_256_GCM_SHA384", + "TLS_AES_128_GCM_SHA256", + "TLS_CHACHA20_POLY1305_SHA256" + }, translate("TLS 1.3 or newer cipher") }, { Value, "tls_timeout", -- cgit v1.2.3