diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-08-02 15:32:04 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-08-02 15:49:00 +0200 |
commit | 6a847fea041075cc287008ce6a4963a179e6e3b0 (patch) | |
tree | f2175e727795be044499021100db0c74ef7bfe91 /applications/luci-app-openvpn/luasrc | |
parent | 7880a9276b3c0ce41df77ea3c5ff6c2e63e45463 (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')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 8 |
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 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", |