From: tb Date: Sat, 2 Mar 2024 08:57:42 +0000 (+0000) Subject: Remove unused, incomplete ub_* macros X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0cd5b2ce36b88e83b97fce0d8f2f08ae0a719eca;p=openbsd 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 --- 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 */