On Tue, Oct 12, 2021 at 09:16:45AM -0600, Job Snijders wrote: > CVSROOT: /cvs > Module name: src > Changes by: j...@cvs.openbsd.org 2021/10/12 09:16:45 > > Modified files: > usr.sbin/rpki-client: cert.c extern.h output-json.c x509.c > > Log message: > Emit SKI in the JSON output and improve flow in x509_get_pubkey() > > OK claudio@
This broke regress, feel free to commit. Index: test-cert.c =================================================================== RCS file: /cvs/src/regress/usr.sbin/rpki-client/test-cert.c,v retrieving revision 1.12 diff -u -p -r1.12 test-cert.c --- test-cert.c 11 Oct 2021 17:32:27 -0000 1.12 +++ test-cert.c 13 Oct 2021 05:28:20 -0000 @@ -57,8 +57,8 @@ cert_print(const struct cert *p) printf("caRepository: %s\n", p->repo); if (p->notify != NULL) printf("Notify URL: %s\n", p->notify); - if (p->bgpsec_pubkey != NULL) - printf("BGPsec P-256 ECDSA public key: %s\n", p->bgpsec_pubkey); + if (p->pubkey != NULL) + printf("BGPsec P-256 ECDSA public key: %s\n", p->pubkey); strftime(tbuf, sizeof(tbuf), "%FT%TZ", gmtime(&p->expires)); printf("Valid until: %s\n", tbuf);