From: tb Date: Thu, 25 Jan 2024 15:09:22 +0000 (+0000) Subject: This table no longer needs to be sorted X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=df60383b7bda3ed36d2a6ad4e5a40859cd4b8690;p=openbsd This table no longer needs to be sorted --- diff --git a/lib/libcrypto/x509/x509_lib.c b/lib/libcrypto/x509/x509_lib.c index c78b600677e..5ddfc376190 100644 --- a/lib/libcrypto/x509/x509_lib.c +++ b/lib/libcrypto/x509/x509_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_lib.c,v 1.15 2024/01/25 12:20:17 tb Exp $ */ +/* $OpenBSD: x509_lib.c,v 1.16 2024/01/25 15:09:22 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -78,10 +78,6 @@ extern const X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp, v3_idp; extern const X509V3_EXT_METHOD v3_addr, v3_asid; extern const X509V3_EXT_METHOD v3_ct_scts[3]; -/* - * This table needs to be sorted by increasing ext_nid values for OBJ_bsearch_. - */ - static const X509V3_EXT_METHOD *standard_exts[] = { &v3_nscert, &v3_ns_ia5_list[0],