summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2020-01-16 11:16:07 +0000
committerKarl Palsson <karlp@etactica.com>2020-01-16 11:51:33 +0000
commit26f219c026583bb056b0ff7e1fa878604bb08438 (patch)
treeabddf20df59bc6348ff49bf6a47f08d1d3ce60aa
parent4ace55712b3f617c4f69535b6743e77ae9659630 (diff)
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 <karlp@etactica.com>
-rw-r--r--applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua2
1 files changed, 1 insertions, 1 deletions
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"))