diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-19 18:38:51 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-19 18:38:51 +0100 |
commit | c96d986645214c2ce10bb50e66a0d2eabbaf926a (patch) | |
tree | cabf3c983227ec2dd8af0eca88d51c23c21b2fb3 | |
parent | 3efb9ed60b09f3b6377af204803b2223ea4da625 (diff) | |
parent | d3104487b4e467fed62423f993dfba028dc325fb (diff) |
Merge pull request #301 from nmav/ocserv4
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
-rw-r--r-- | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 d354cf644..23f6f5c84 100644 --- 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 |