summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-04-16 11:59:50 +0000
committertb <>2023-04-16 11:59:50 +0000
commit059b86a769e890045794e90361cc31c550b726b5 (patch)
treef101448ce5d4a43af5c0a4353db73b50d1ee56a7 /src/lib
parent1560d4ec4df253b85c696db27a0a92d941377165 (diff)
downloadopenbsd-059b86a769e890045794e90361cc31c550b726b5.tar.gz
openbsd-059b86a769e890045794e90361cc31c550b726b5.tar.bz2
openbsd-059b86a769e890045794e90361cc31c550b726b5.zip
Fix comment formatting and grammar, drop usless and outdated comment
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_lib.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c
index b520e53675..d836df7733 100644
--- a/src/lib/libcrypto/x509/x509_lib.c
+++ b/src/lib/libcrypto/x509/x509_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lib.c,v 1.8 2023/04/16 11:52:52 tb Exp $ */ 1/* $OpenBSD: x509_lib.c,v 1.9 2023/04/16 11:59:50 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -84,8 +84,8 @@ extern X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp, v3_idp;
84extern const X509V3_EXT_METHOD v3_addr, v3_asid; 84extern const X509V3_EXT_METHOD v3_addr, v3_asid;
85extern const X509V3_EXT_METHOD v3_ct_scts[3]; 85extern const X509V3_EXT_METHOD v3_ct_scts[3];
86 86
87/* This table will be searched using OBJ_bsearch so it *must* kept in 87/*
88 * order of the ext_nid values. 88 * This table needs to be sorted by increasing ext_nid values for OBJ_bsearch_.
89 */ 89 */
90 90
91static const X509V3_EXT_METHOD *standard_exts[] = { 91static const X509V3_EXT_METHOD *standard_exts[] = {
@@ -271,10 +271,6 @@ ext_list_free(X509V3_EXT_METHOD *ext)
271 free(ext); 271 free(ext);
272} 272}
273 273
274/* Legacy function: we don't need to add standard extensions
275 * any more because they are now kept in ext_dat.h.
276 */
277
278int 274int
279X509V3_add_standard_extensions(void) 275X509V3_add_standard_extensions(void)
280{ 276{