luci-app-ocserv: express PKID in a way that is acceptable by openconnect
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
52ecc90b31
commit
d3104487b4
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ if fd then local ln
|
|||
found_pki = true
|
||||
elseif found_pki then
|
||||
local hash = ln:match("([a-f0-9]+)")
|
||||
o_pki.default = hash and hash:upper()
|
||||
o_pki.default = hash and "sha1:" .. hash:upper()
|
||||
complete = complete + 1
|
||||
found_pki = false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue