summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-12-23 09:55:19 +0000
committertb <>2024-12-23 09:55:19 +0000
commitdf10429f0a8abbb0125d092993d95e2849d39a79 (patch)
treefe288c4e3d340f38a323e31db95b311ef0843c66 /src
parent2553d78b797c1fec77fa5a3285dc8aa05f7e71b1 (diff)
downloadopenbsd-df10429f0a8abbb0125d092993d95e2849d39a79.tar.gz
openbsd-df10429f0a8abbb0125d092993d95e2849d39a79.tar.bz2
openbsd-df10429f0a8abbb0125d092993d95e2849d39a79.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509v3.h20
1 files changed, 1 insertions, 19 deletions
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 @@
1/* $OpenBSD: x509v3.h,v 1.38 2024/12/23 09:53:30 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.39 2024/12/23 09:55:19 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 */
@@ -342,24 +342,6 @@ struct ISSUING_DIST_POINT_st {
342 X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST) 342 X509V3_set_ctx(ctx, NULL, NULL, NULL, NULL, CTX_TEST)
343#define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL; 343#define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL;
344 344
345#define EXT_BITSTRING(nid, table) { nid, 0, &ASN1_BIT_STRING_it, \
346 0,0,0,0, \
347 0,0, \
348 (X509V3_EXT_I2V)i2v_ASN1_BIT_STRING, \
349 (X509V3_EXT_V2I)v2i_ASN1_BIT_STRING, \
350 NULL, NULL, \
351 table}
352
353#define EXT_IA5STRING(nid) { nid, 0, &ASN1_IA5STRING_it, \
354 0,0,0,0, \
355 (X509V3_EXT_I2S)i2s_ASN1_IA5STRING, \
356 (X509V3_EXT_S2I)s2i_ASN1_IA5STRING, \
357 0,0,0,0, \
358 NULL}
359
360#define EXT_END { -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
361
362
363/* X509_PURPOSE stuff */ 345/* X509_PURPOSE stuff */
364 346
365#define EXFLAG_BCONS 0x0001 347#define EXFLAG_BCONS 0x0001