summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2021-10-16 18:12:20 +0100
committerMatthew Hagan <mnhagan88@gmail.com>2022-08-10 23:03:58 +0100
commit57936a40c32937d4bedfa6344868668af687bcc5 (patch)
tree1d6da1b2472c9a2273e50cbdef64ea3d9b7a6e4a /protocols/luci-proto-openfortivpn/htdocs/luci-static/resources
parentc084570d063fd64db6f8a42a0b1d5270d8831d83 (diff)
luci-proto-openfortivpn: Correct server certificate SHA label
According to the documentation[1], the SHA256 hash is used for the trusted-cert option, not SHA1. [1] https://github.com/adrienverge/openfortivpn/blob/master/doc/openfortivpn.1.in Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'protocols/luci-proto-openfortivpn/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
index 1542c5ae6b..530eeea4ff 100644
--- a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
+++ b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js
@@ -149,7 +149,7 @@ return network.registerProtocol('openfortivpn', {
o.datatype = 'uinteger';
o.optional = true;
- o = s.taboption('advanced', form.Value, 'trusted_cert', _("VPN Server's certificate SHA1 hash"));
+ o = s.taboption('advanced', form.Value, 'trusted_cert', _("VPN Server certificate's SHA256 hash"));
o.datatype = 'and(hexstring,length(64))'
o.optional = true;