From b1d78d1adba4ade8cc49ae15a997f2256193d690 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 16 Apr 2023 11:59:50 +0000 Subject: [PATCH] Fix comment formatting and grammar, drop usless and outdated comment --- lib/libcrypto/x509/x509_lib.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/libcrypto/x509/x509_lib.c b/lib/libcrypto/x509/x509_lib.c index b520e536752..d836df7733a 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.8 2023/04/16 11:52:52 tb Exp $ */ +/* $OpenBSD: x509_lib.c,v 1.9 2023/04/16 11:59:50 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -84,8 +84,8 @@ extern 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 will be searched using OBJ_bsearch so it *must* kept in - * order of the ext_nid values. +/* + * This table needs to be sorted by increasing ext_nid values for OBJ_bsearch_. */ static const X509V3_EXT_METHOD *standard_exts[] = { @@ -271,10 +271,6 @@ ext_list_free(X509V3_EXT_METHOD *ext) free(ext); } -/* Legacy function: we don't need to add standard extensions - * any more because they are now kept in ext_dat.h. - */ - int X509V3_add_standard_extensions(void) { -- 2.20.1