mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user