From 17f7a478a59ac471935620ca25bb14b45a3480ee Mon Sep 17 00:00:00 2001 From: job Date: Mon, 26 Feb 2024 10:02:37 +0000 Subject: [PATCH] Properly close JSON array before continuing in TAK OK claudio@ --- usr.sbin/rpki-client/print.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1