diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-19 18:24:48 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-19 18:24:54 +0100 |
commit | d3104487b4e467fed62423f993dfba028dc325fb (patch) | |
tree | ebdbed362fdf43abb3d7f3f468bfb5b9b369ada6 /applications | |
parent | 52ecc90b3129c72a856c3d16534276ab7e192179 (diff) |
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'applications')
-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 |