From: Florian Eckert Date: Fri, 2 Aug 2019 13:32:04 +0000 (+0200) Subject: luci-app-openvpn: use DynamicList for tls_ciphersuites X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6a847fea041075cc287008ce6a4963a179e6e3b0;p=oweals%2Fluci.git luci-app-openvpn: use DynamicList for tls_ciphersuites Signed-off-by: Florian Eckert --- 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 f6a6849a5..18b106c32 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",