summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_new.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_new.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c
index 5d436cf25c..555267c48f 100644
--- a/src/lib/libcrypto/asn1/tasn_new.c
+++ b/src/lib/libcrypto/asn1/tasn_new.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_new.c,v 1.23 2022/11/26 16:08:50 tb Exp $ */ 1/* $OpenBSD: tasn_new.c,v 1.24 2023/07/05 21:23:36 beck 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 2000. 3 * project 2000.
4 */ 4 */
@@ -79,6 +79,7 @@ ASN1_item_new(const ASN1_ITEM *it)
79 return ret; 79 return ret;
80 return NULL; 80 return NULL;
81} 81}
82LCRYPTO_ALIAS(ASN1_item_new);
82 83
83/* Allocate an ASN1 structure */ 84/* Allocate an ASN1 structure */
84 85
@@ -87,6 +88,7 @@ ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
87{ 88{
88 return asn1_item_ex_new(pval, it); 89 return asn1_item_ex_new(pval, it);
89} 90}
91LCRYPTO_ALIAS(ASN1_item_ex_new);
90 92
91static int 93static int
92asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 94asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
@@ -246,6 +248,7 @@ ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
246 done: 248 done:
247 return ret; 249 return ret;
248} 250}
251LCRYPTO_ALIAS(ASN1_template_new);
249 252
250static void 253static void
251asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) 254asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
@@ -315,6 +318,7 @@ ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
315 return 1; 318 return 1;
316 return 0; 319 return 0;
317} 320}
321LCRYPTO_ALIAS(ASN1_primitive_new);
318 322
319static void 323static void
320asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) 324asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)