summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2020-12-09 11:22:47 +0000
committerclaudio <claudio@openbsd.org>2020-12-09 11:22:47 +0000
commit5f04cdae00a17db803b354b0deec19bc523fa1ad (patch)
treed3c2dcbdd2ce8c90b90d7a6cd671da2b8869db7c
parentadd RCS tags (diff)
downloadwireguard-openbsd-5f04cdae00a17db803b354b0deec19bc523fa1ad.tar.xz
wireguard-openbsd-5f04cdae00a17db803b354b0deec19bc523fa1ad.zip
If provided print the RRDP notify URL along the MFT rsync URL
-rw-r--r--regress/usr.sbin/rpki-client/test-cert.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.sbin/rpki-client/test-cert.c b/regress/usr.sbin/rpki-client/test-cert.c
index 69c97e437d4..1dc90a2d98c 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.5 2020/11/09 16:13:02 tb Exp $ */
+/* $Id: test-cert.c,v 1.6 2020/12/09 11:22:47 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -44,6 +44,8 @@ cert_print(const struct cert *p)
assert(p != NULL);
printf("Manifest: %s\n", p->mft);
+ if (p->notify != NULL)
+ printf("Notify URL: %s\n", p->notify);
if (p->crl != NULL)
printf("Revocation list: %s\n", p->crl);
printf("Subject key identifier: %s\n", p->ski);