summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-12-24 02:22:17 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-12-24 02:22:17 +0000
commitd3624af1a6ae857c234a982a828349ee46ed3669 (patch)
tree7a6ccd25b9d6e02acb7c31dcdac1993c11fecc9d /lib/libcrypto/x509
parent733af4f304645ccadeced720f882016e7ae955ca (diff)
Remove assert from extract_min_max() (again)
All callers ensure that aor != NULL, so this isn't necessary. ok jsing
Diffstat (limited to 'lib/libcrypto/x509')
-rw-r--r--lib/libcrypto/x509/x509_asid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/x509/x509_asid.c b/lib/libcrypto/x509/x509_asid.c
index 3fdacb711f1..5eeb5953d37 100644
--- a/lib/libcrypto/x509/x509_asid.c
+++ b/lib/libcrypto/x509/x509_asid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_asid.c,v 1.24 2021/12/24 02:17:27 tb Exp $ */
+/* $OpenBSD: x509_asid.c,v 1.25 2021/12/24 02:22:16 tb Exp $ */
/*
* Contributed to the OpenSSL Project by the American Registry for
* Internet Numbers ("ARIN").
@@ -474,8 +474,6 @@ X509v3_asid_add_id_or_range(ASIdentifiers *asid, int which, ASN1_INTEGER *min,
static int
extract_min_max(ASIdOrRange *aor, ASN1_INTEGER **min, ASN1_INTEGER **max)
{
- OPENSSL_assert(aor != NULL);
-
switch (aor->type) {
case ASIdOrRange_id:
*min = aor->u.id;