Merge pull request #301 from nmav/ocserv4
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
This commit is contained in:
commit
c96d986645
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