From 0c4d8cc09de52b92295a726df44a8620174bf51c Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 4 Apr 2022 13:15:11 +0000 Subject: [PATCH] Remove two more FIXMEs: to get there, we rely on the OID already. ok claudio --- usr.sbin/rpki-client/cert.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index 0b7ad5d40cb..d4858f4f72d 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.60 2022/04/02 12:17:53 claudio Exp $ */ +/* $OpenBSD: cert.c,v 1.61 2022/04/04 13:15:11 tb Exp $ */ /* * Copyright (c) 2021 Job Snijders * Copyright (c) 2019 Kristaps Dzonsons @@ -611,8 +611,6 @@ sbgp_assysnum(struct parse *p, X509_EXTENSION *ext) goto out; } - /* FIXME: verify OID. */ - t = sk_ASN1_TYPE_value(seq, 1); if (t->type != V_ASN1_BOOLEAN) { warnx("%s: RFC 6487 section 4.8.11: autonomousSysNum: " @@ -918,8 +916,6 @@ sbgp_ipaddrblk(struct parse *p, X509_EXTENSION *ext) goto out; } - /* FIXME: verify OID. */ - t = sk_ASN1_TYPE_value(seq, 1); if (t->type != V_ASN1_BOOLEAN) { warnx("%s: RFC 6487 section 4.8.10: sbgp-ipAddrBlock: " -- 2.20.1