From: job Date: Mon, 26 Feb 2024 10:02:37 +0000 (+0000) Subject: Properly close JSON array before continuing in TAK X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=17f7a478a59ac471935620ca25bb14b45a3480ee;p=openbsd Properly close JSON array before continuing in TAK OK claudio@ --- diff --git a/usr.sbin/rpki-client/print.c b/usr.sbin/rpki-client/print.c index bb92910c15e..9ef44b73620 100644 --- a/usr.sbin/rpki-client/print.c +++ b/usr.sbin/rpki-client/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.51 2024/02/22 19:29:55 tb Exp $ */ +/* $OpenBSD: print.c,v 1.52 2024/02/26 10:02:37 job Exp $ */ /* * Copyright (c) 2021 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -734,6 +734,7 @@ takey_print(char *name, const struct takey *t) json_do_string("uri", t->uris[i]); json_do_end(); json_do_string("spki", spki); + json_do_end(); } else { printf("TAL derived from the '%s' Trust Anchor Key:\n\n", name);