diff options
Diffstat (limited to 'usr.sbin/rpki-client/filemode.c')
-rw-r--r-- | usr.sbin/rpki-client/filemode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpki-client/filemode.c b/usr.sbin/rpki-client/filemode.c index 5daf03b72f3..90f20bf7473 100644 --- a/usr.sbin/rpki-client/filemode.c +++ b/usr.sbin/rpki-client/filemode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filemode.c,v 1.38 2024/02/22 12:49:42 job Exp $ */ +/* $OpenBSD: filemode.c,v 1.39 2024/03/19 05:04:13 tb Exp $ */ /* * Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -268,13 +268,13 @@ print_signature_path(const char *crl, const char *aia, const struct auth *a) if (aia != NULL) printf(" %s\n", aia); - for (; a != NULL; a = a->parent) { + for (; a != NULL; a = a->issuer) { if (a->cert->crl != NULL) printf(" %s\n", a->cert->crl); - if (a->parent != NULL && a->parent->cert != NULL && - a->parent->cert->mft != NULL) + if (a->issuer != NULL && a->issuer->cert != NULL && + a->issuer->cert->mft != NULL) printf(" %s\n", - a->parent->cert->mft); + a->issuer->cert->mft); if (a->cert->aia != NULL) printf(" %s\n", a->cert->aia); } |