summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-10-13 06:56:08 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-10-13 06:56:08 +0000
commitd578e7d0e96902ed1dff881106384d1e95e09205 (patch)
tree670713305f84e55c849fae6bf93df78fc83c1b75 /regress/usr.sbin/rpki-client
parenta0b1e316dae80b572580ce13d79bc50570ef10a0 (diff)
Fix regress test after changing the way bgpsec pubkeys are shown and processed.
Reported by anton@
Diffstat (limited to 'regress/usr.sbin/rpki-client')
-rw-r--r--regress/usr.sbin/rpki-client/test-cert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c
index f7385d4f84e..9c80df6d587 100644
--- a/regress/usr.sbin/rpki-client/test-cert.c
+++ b/regress/usr.sbin/rpki-client/test-cert.c
@@ -1,4 +1,4 @@
-/* $Id: test-cert.c,v 1.12 2021/10/11 17:32:27 job Exp $ */
+/* $Id: test-cert.c,v 1.13 2021/10/13 06:56:07 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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);