acme-client: encode unexpected SANs before printing
authortb <tb@openbsd.org>
Sun, 18 Dec 2022 12:04:55 +0000 (12:04 +0000)
committertb <tb@openbsd.org>
Sun, 18 Dec 2022 12:04:55 +0000 (12:04 +0000)
commit0b60193df276dc6f43ebb60edd076225d1cc0850
tree310b65a20e881af99897506b060aa717555dfc18
parent0b8004b8919b018373d57265b39c88ef6c231ed5
acme-client: encode unexpected SANs before printing

If a SAN isn't configured, it could be anything, so make printing it safe
using strvisx(). If it is configured but duplicate, printing it should be
fine, so don't bother. This removes two XXX added in the previous commit.

ok florian
usr.sbin/acme-client/revokeproc.c