summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ocserv/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ocserv/luasrc')
-rw-r--r--applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua2
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 d354cf6445..23f6f5c84c 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