summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2024-02-02 19:26:50 +0000
committerJob Snijders <job@cvs.openbsd.org>2024-02-02 19:26:50 +0000
commita24ce2866bbae542c65df48d2acb8f6f2131c45d (patch)
tree66784a5effb87763403f9963f7a12fe36a111c3c /usr.sbin/rpki-client/mft.c
parent5c2879ce6f87f20ad4a144ffd1332d9b14f2142a (diff)
Remove old comment
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index a98e6ac33bd..57323f0a5c2 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.102 2024/01/31 06:57:21 tb Exp $ */
+/* $OpenBSD: mft.c,v 1.103 2024/02/02 19:26:49 job Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -301,16 +301,6 @@ mft_parse_econtent(const unsigned char *d, size_t dsz, struct parse *p)
if (p->res->seqnum == NULL)
goto out;
- /*
- * Timestamps: this and next update time.
- * Validate that the current date falls into this interval.
- * This is required by section 4.4, (3).
- * If we're after the given date, then the MFT is stale.
- * This is made super complicated because it uses OpenSSL's
- * ASN1_GENERALIZEDTIME instead of ASN1_TIME, which we could
- * compare against the current time trivially.
- */
-
if (!mft_parse_time(mft->thisUpdate, mft->nextUpdate, p))
goto out;