summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-06-06 07:20:16 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-06-06 07:20:16 +0000
commitca60546aef6c3c2df70e95b0f670d9e1d02def07 (patch)
treebb8b11bdb329e4c1008a7a470479930c29cc4cfe /usr.sbin/rpki-client
parent14cb98cdf37829758f1aca7e785aaa9706878972 (diff)
rpki-client: fix RFC section references in ta_parse()
ok claudio
Diffstat (limited to 'usr.sbin/rpki-client')
-rw-r--r--usr.sbin/rpki-client/cert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c
index ff662ce1a35..83c7e42051a 100644
--- a/usr.sbin/rpki-client/cert.c
+++ b/usr.sbin/rpki-client/cert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cert.c,v 1.137 2024/06/06 03:29:52 tb Exp $ */
+/* $OpenBSD: cert.c,v 1.138 2024/06/06 07:20:15 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2021 Job Snijders <job@openbsd.org>
@@ -1103,17 +1103,17 @@ ta_parse(const char *fn, struct cert *p, const unsigned char *pkey,
goto badcert;
}
if (p->aki != NULL && strcmp(p->aki, p->ski)) {
- warnx("%s: RFC 6487 section 8.4.2: "
+ warnx("%s: RFC 6487 section 4.8.3: "
"trust anchor AKI, if specified, must match SKI", fn);
goto badcert;
}
if (p->aia != NULL) {
- warnx("%s: RFC 6487 section 8.4.7: "
+ warnx("%s: RFC 6487 section 4.8.7: "
"trust anchor must not have AIA", fn);
goto badcert;
}
if (p->crl != NULL) {
- warnx("%s: RFC 6487 section 8.4.2: "
+ warnx("%s: RFC 6487 section 4.8.6: "
"trust anchor may not specify CRL resource", fn);
goto badcert;
}