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:
Jo-Philipp Wich 2015-01-19 18:38:51 +01:00
commit c96d986645

View file

@ -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