From f0045e366b4be4794ddf9c7123b1bb43169d83ea Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 10:00:10 +0000 Subject: Make ASN1_{primitive,template}_* internal These were long removed from the public OpenSSL API, so we can do the same. Remove ASN1_template_{d2i,i2d}() - those are unused internally. ok jsing --- src/lib/libcrypto/asn1/tasn_new.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/asn1/tasn_new.c') diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 555267c48f..10c1137dbf 100644 --- a/src/lib/libcrypto/asn1/tasn_new.c +++ b/src/lib/libcrypto/asn1/tasn_new.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tasn_new.c,v 1.24 2023/07/05 21:23:36 beck Exp $ */ +/* $OpenBSD: tasn_new.c,v 1.25 2023/07/28 10:00:10 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -248,7 +248,6 @@ ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) done: return ret; } -LCRYPTO_ALIAS(ASN1_template_new); static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) @@ -318,7 +317,6 @@ ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) return 1; return 0; } -LCRYPTO_ALIAS(ASN1_primitive_new); static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) -- cgit v1.2.3-55-g6feb