ocserv: fix the public key ID calculation 3411/head
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 14 Dec 2019 08:55:11 +0000 (09:55 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 14 Dec 2019 08:55:48 +0000 (09:55 +0100)
commitc81ca8dae3e914b41b754e1cdc7cad3aeead9e66
tree24260269f3ec6350af089c5d93833b0796620a5e
parent5d55a0a4a9c338f64818ac73b7d5f28079aa95b7
ocserv: fix the public key ID calculation

New versions of certtool change its output format and thus break
the previous parsing. This update works with certtool 3.5.x or later.
It also restricts the output to valid values for openconnect 7.x or
later for simplification.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua