From df10429f0a8abbb0125d092993d95e2849d39a79 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 23 Dec 2024 09:55:19 +0000 Subject: Remove the EXT_* table building macros These were used in x509_bitst.c and x509_ia5.c for populating tables that have been expanded a long time ago. Nothing uses them, so remove them. This went through a full bulk pointed out by/ok schwarze --- src/lib/libcrypto/x509/x509v3.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h index 8424878d6e..fda1e4af59 100644 --- a/src/lib/libcrypto/x509/x509v3.h +++ b/src/lib/libcrypto/x509/x509v3.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509v3.h,v 1.38 2024/12/23 09:53:30 tb Exp $ */ +/* $OpenBSD: x509v3.h,v 1.39 2024/12/23 09:55:19 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -342,24 +342,6 @@ struct ISSUING_DIST_POINT_st { X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST) #define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL; -#define EXT_BITSTRING(nid, table) { nid, 0, &ASN1_BIT_STRING_it, \ - 0,0,0,0, \ - 0,0, \ - (X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \ - (X509V3_EXT_V2I)v2i_ASN1_BIT_STRING, \ - NULL, NULL, \ - table} - -#define EXT_IA5STRING(nid) { nid, 0, &ASN1_IA5STRING_it, \ - 0,0,0,0, \ - (X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \ - (X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \ - 0,0,0,0, \ - NULL} - -#define EXT_END { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} - - /* X509_PURPOSE stuff */ #define EXFLAG_BCONS 0x0001 -- cgit v1.2.3-55-g6feb