summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-04-04 13:15:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-04-04 13:15:12 +0000
commitf9d0d71520a07abd13b16c1594df027440121f5b (patch)
tree253f4a7007bd6e6c823cbb48f3315cdb4c1f3730
parent9addaeb168d0fe5e52174cb23aad6c02ee4a29e8 (diff)
Remove two more FIXMEs: to get there, we rely on the OID already.
ok claudio
-rw-r--r--usr.sbin/rpki-client/cert.c6
1 files changed, 1 insertions, 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 <job@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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: "