diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-06-07 10:46:35 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-06-07 10:46:35 +0000 |
commit | 8e86cc83383301cf49d58ac4c671e43e1a449445 (patch) | |
tree | 855d579b5b012f8fa10033962109cd82c420a980 /usr.sbin/rpki-client/mft.c | |
parent | b09263fd5303ce046adbfdc0249dddbbe4f576ab (diff) |
In anticipation of a bump of the ASPA eContent profile version, update
valid_econtent_version() to allow for non-zero versions.
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r-- | usr.sbin/rpki-client/mft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index c7c27ba5b23..75ad639d8d3 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mft.c,v 1.93 2023/05/22 15:15:25 tb Exp $ */ +/* $OpenBSD: mft.c,v 1.94 2023/06/07 10:46:34 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -286,7 +286,7 @@ mft_parse_econtent(const unsigned char *d, size_t dsz, struct parse *p) goto out; } - if (!valid_econtent_version(p->fn, mft->version)) + if (!valid_econtent_version(p->fn, mft->version, 0)) goto out; p->res->seqnum = x509_convert_seqnum(p->fn, mft->manifestNumber); |