summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/validate.c
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2022-02-04 13:50:33 +0000
committerJob Snijders <job@cvs.openbsd.org>2022-02-04 13:50:33 +0000
commit88842f43f8d5d30e4eec62daaaac224dc7273f37 (patch)
treed9ba511b5ff57ce4d994b2978bd32c6c537f08ce /usr.sbin/rpki-client/validate.c
parente61a266968e87b4ead25f790dc83cde9f96b6262 (diff)
Fix outdated comment
Nowadays SKI/AKI validation happens in proc_parser_roa()
Diffstat (limited to 'usr.sbin/rpki-client/validate.c')
-rw-r--r--usr.sbin/rpki-client/validate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/validate.c b/usr.sbin/rpki-client/validate.c
index 095618a4711..adc200c7a8e 100644
--- a/usr.sbin/rpki-client/validate.c
+++ b/usr.sbin/rpki-client/validate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: validate.c,v 1.28 2022/01/23 09:19:13 tb Exp $ */
+/* $OpenBSD: validate.c,v 1.29 2022/02/04 13:50:32 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -197,8 +197,7 @@ valid_cert(const char *fn, struct auth *a, const struct cert *cert)
}
/*
- * Validate our ROA: check that the SKI is unique, the AKI exists, and
- * the IP prefix is also contained.
+ * Validate our ROA: check that the prefixes (ipAddrBlocks) are contained.
* Returns 1 if valid, 0 otherwise.
*/
int