summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-05 13:31:36 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-05 13:31:36 +0000
commit4f43bedbcdc8b5b475ff648d08b3a81a549844ee (patch)
tree697b5a3cb76a9d64d16fc73d82dfcb23faf14a32 /usr.sbin
parent79448d70af8f677e59d17f11372d14718be6fc8b (diff)
Revert accidentally committed check
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpki-client/rsc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/rpki-client/rsc.c b/usr.sbin/rpki-client/rsc.c
index 59280c65f33..1aac0659ddb 100644
--- a/usr.sbin/rpki-client/rsc.c
+++ b/usr.sbin/rpki-client/rsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsc.c,v 1.9 2022/06/04 02:14:21 tb Exp $ */
+/* $OpenBSD: rsc.c,v 1.10 2022/06/05 13:31:35 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2022 Job Snijders <job@fastly.com>
@@ -418,11 +418,6 @@ rsc_parse(X509 **x509, const char *fn, const unsigned char *der, size_t len)
goto out;
}
- if (X509_get_ext_by_NID(*x509, NID_sinfo_access, -1) != -1) {
- warnx("%s: EE certificate MUST NOT have SIA extension", fn);
- goto out;
- }
-
at = X509_get0_notAfter(*x509);
if (at == NULL) {
warnx("%s: X509_get0_notAfter failed", fn);