From 520215b53ca5736fbba4baa3b0468ce537cdb3fa Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 2 Mar 2024 09:00:07 +0000 Subject: [PATCH] Remove unused M_ASN1_* macros The last comsumer, telephony/asterisk, was adjusted a few months back. pointed out by brad ok jsing --- lib/libcrypto/asn1/asn1.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h index 934b5d77b55..15b0e3995a7 100644 --- a/lib/libcrypto/asn1/asn1.h +++ b/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.87 2024/03/02 08:57:42 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.88 2024/03/02 09:00:07 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -505,19 +505,6 @@ typedef struct BIT_STRING_BITNAME_st { B_ASN1_BMPSTRING|\ B_ASN1_UTF8STRING -#ifndef LIBRESSL_INTERNAL -#define M_ASN1_IA5STRING_new ASN1_IA5STRING_new - -#define M_ASN1_INTEGER_free ASN1_INTEGER_free -#define M_ASN1_ENUMERATED_free ASN1_ENUMERATED_free -#define M_ASN1_OCTET_STRING_free ASN1_OCTET_STRING_free - -#define M_ASN1_OCTET_STRING_print ASN1_STRING_print - -#define M_ASN1_STRING_data ASN1_STRING_data -#define M_ASN1_STRING_length ASN1_STRING_length -#endif - ASN1_TYPE *ASN1_TYPE_new(void); void ASN1_TYPE_free(ASN1_TYPE *a); ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); -- 2.20.1