From 0cd5b2ce36b88e83b97fce0d8f2f08ae0a719eca Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 2 Mar 2024 08:57:42 +0000 Subject: [PATCH] Remove unused, incomplete ub_* macros The only consumer, a_strnid.c, has its own, slightly more complete, up to date, and less incorrect, version of these. ok jsing --- lib/libcrypto/asn1/asn1.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h index ae481cc3836..934b5d77b55 100644 --- a/lib/libcrypto/asn1/asn1.h +++ b/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.86 2024/03/02 08:55:38 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.87 2024/03/02 08:57:42 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -217,17 +217,6 @@ typedef struct asn1_string_table_st { unsigned long flags; } ASN1_STRING_TABLE; -/* size limits: this stuff is taken straight from RFC2459 */ -/* XXX - unused macros. A more complete version is in a_strnid.c. Remove? */ -#define ub_name 32768 -#define ub_common_name 64 -#define ub_locality_name 128 -#define ub_state_name 128 -#define ub_organization_name 64 -#define ub_organization_unit_name 64 -#define ub_title 64 -#define ub_email_address 128 - /* Declarations for template structures: for full definitions * see asn1t.h */ -- 2.20.1