From 26f219c026583bb056b0ff7e1fa878604bb08438 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 16 Jan 2020 11:16:07 +0000 Subject: luci-app-mosquitto: update tls versions for bridges as well Earlier we updated the options list for tls versions for the broker's own listeners, but we missed the list of tls versions used when connecting to remote brokers. Fixes: a7b1d63eb91 drop tls1.0, add tls1.3 Signed-off-by: Karl Palsson --- applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications') diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index dd119421a..0b0467e9a 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -209,9 +209,9 @@ psk_key.validate = validate_psk_key b_tls_version = s:option(ListValue, "tls_version", _("TLS Version"), _("The remote broker must support the same version of TLS for the connection to succeed.")) b_tls_version:value("", "Default") -b_tls_version:value("tlsv1") b_tls_version:value("tlsv1.1") b_tls_version:value("tlsv1.2") +b_tls_version:value("tlsv1.3") b_tls_version.optional = true o = s:option(Value, "cafile", _("Path to CA file")) -- cgit v1.2.3