summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-03-02 08:57:42 +0000
committertb <>2024-03-02 08:57:42 +0000
commitf0fbf6390de98e4c71f685496f67f16746bd8411 (patch)
treea037fee57a960d2f1be418765d9bbd707a6790e8 /src
parenta4d701a436e9a38137e75063feece227cab4df4e (diff)
downloadopenbsd-f0fbf6390de98e4c71f685496f67f16746bd8411.tar.gz
openbsd-f0fbf6390de98e4c71f685496f67f16746bd8411.tar.bz2
openbsd-f0fbf6390de98e4c71f685496f67f16746bd8411.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index ae481cc383..934b5d77b5 100644
--- a/src/lib/libcrypto/asn1/asn1.h
+++ b/src/lib/libcrypto/asn1/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.86 2024/03/02 08:55:38 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.87 2024/03/02 08:57:42 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -217,17 +217,6 @@ typedef struct asn1_string_table_st {
217 unsigned long flags; 217 unsigned long flags;
218} ASN1_STRING_TABLE; 218} ASN1_STRING_TABLE;
219 219
220/* size limits: this stuff is taken straight from RFC2459 */
221/* XXX - unused macros. A more complete version is in a_strnid.c. Remove? */
222#define ub_name 32768
223#define ub_common_name 64
224#define ub_locality_name 128
225#define ub_state_name 128
226#define ub_organization_name 64
227#define ub_organization_unit_name 64
228#define ub_title 64
229#define ub_email_address 128
230
231/* Declarations for template structures: for full definitions 220/* Declarations for template structures: for full definitions
232 * see asn1t.h 221 * see asn1t.h
233 */ 222 */