projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
[project/luci.git]
/
applications
/
luci-app-ocserv
/
luasrc
/
model
/
cbi
/
ocserv
/
main.lua
diff --git
a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
index
d354cf6
..
23f6f5c
100644
(file)
--- a/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
+++ b/
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua
@@
-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