diff options
author | tb <> | 2024-03-02 09:00:07 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 09:00:07 +0000 |
commit | c65895af2c2fed4774618ef4358bbb36943f0dde (patch) | |
tree | 015eff74d87392a9119363ac90b6385bdb4e2f16 /src | |
parent | f0fbf6390de98e4c71f685496f67f16746bd8411 (diff) | |
download | openbsd-c65895af2c2fed4774618ef4358bbb36943f0dde.tar.gz openbsd-c65895af2c2fed4774618ef4358bbb36943f0dde.tar.bz2 openbsd-c65895af2c2fed4774618ef4358bbb36943f0dde.zip |
Remove unused M_ASN1_* macros
The last comsumer, telephony/asterisk, was adjusted a few months back.
pointed out by brad
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 934b5d77b5..15b0e3995a 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.87 2024/03/02 08:57:42 tb Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.88 2024/03/02 09:00:07 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 | * |
@@ -505,19 +505,6 @@ typedef struct BIT_STRING_BITNAME_st { | |||
505 | B_ASN1_BMPSTRING|\ | 505 | B_ASN1_BMPSTRING|\ |
506 | B_ASN1_UTF8STRING | 506 | B_ASN1_UTF8STRING |
507 | 507 | ||
508 | #ifndef LIBRESSL_INTERNAL | ||
509 | #define M_ASN1_IA5STRING_new ASN1_IA5STRING_new | ||
510 | |||
511 | #define M_ASN1_INTEGER_free ASN1_INTEGER_free | ||
512 | #define M_ASN1_ENUMERATED_free ASN1_ENUMERATED_free | ||
513 | #define M_ASN1_OCTET_STRING_free ASN1_OCTET_STRING_free | ||
514 | |||
515 | #define M_ASN1_OCTET_STRING_print ASN1_STRING_print | ||
516 | |||
517 | #define M_ASN1_STRING_data ASN1_STRING_data | ||
518 | #define M_ASN1_STRING_length ASN1_STRING_length | ||
519 | #endif | ||
520 | |||
521 | ASN1_TYPE *ASN1_TYPE_new(void); | 508 | ASN1_TYPE *ASN1_TYPE_new(void); |
522 | void ASN1_TYPE_free(ASN1_TYPE *a); | 509 | void ASN1_TYPE_free(ASN1_TYPE *a); |
523 | ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); | 510 | ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); |