summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-02 15:32:04 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-08-02 15:49:00 +0200
commit6a847fea041075cc287008ce6a4963a179e6e3b0 (patch)
treef2175e727795be044499021100db0c74ef7bfe91 /applications/luci-app-openvpn/luasrc/model/cbi
parent7880a9276b3c0ce41df77ea3c5ff6c2e63e45463 (diff)
luci-app-openvpn: use DynamicList for tls_ciphersuites
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua8
1 files changed, 6 insertions, 2 deletions
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",