summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_fre.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_fre.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_fre.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c
index 38f3764f18..eb205dd6ab 100644
--- a/src/lib/libcrypto/asn1/tasn_fre.c
+++ b/src/lib/libcrypto/asn1/tasn_fre.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_fre.c,v 1.21 2022/11/26 16:08:50 tb Exp $ */ 1/* $OpenBSD: tasn_fre.c,v 1.22 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 */
@@ -73,12 +73,14 @@ ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
73{ 73{
74 asn1_item_free(&val, it); 74 asn1_item_free(&val, it);
75} 75}
76LCRYPTO_ALIAS(ASN1_item_free);
76 77
77void 78void
78ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 79ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
79{ 80{
80 asn1_item_free(pval, it); 81 asn1_item_free(pval, it);
81} 82}
83LCRYPTO_ALIAS(ASN1_item_ex_free);
82 84
83static void 85static void
84asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 86asn1_item_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
@@ -183,6 +185,7 @@ ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
183 } else 185 } else
184 asn1_item_free(pval, tt->item); 186 asn1_item_free(pval, tt->item);
185} 187}
188LCRYPTO_ALIAS(ASN1_template_free);
186 189
187void 190void
188ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 191ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
@@ -239,3 +242,4 @@ ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
239 } 242 }
240 *pval = NULL; 243 *pval = NULL;
241} 244}
245LCRYPTO_ALIAS(ASN1_primitive_free);