summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_enc.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_enc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_enc.c b/src/lib/libcrypto/asn1/tasn_enc.c
index bbe8a2e949..be0579f840 100644
--- a/src/lib/libcrypto/asn1/tasn_enc.c
+++ b/src/lib/libcrypto/asn1/tasn_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_enc.c,v 1.31 2023/04/30 16:46:49 job Exp $ */ 1/* $OpenBSD: tasn_enc.c,v 1.32 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 */
@@ -92,6 +92,7 @@ ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it)
92{ 92{
93 return asn1_item_flags_i2d(val, out, it, 0); 93 return asn1_item_flags_i2d(val, out, it, 0);
94} 94}
95LCRYPTO_ALIAS(ASN1_item_i2d);
95 96
96/* Encode an ASN1 item, this is use by the 97/* Encode an ASN1 item, this is use by the
97 * standard 'i2d' function. 'out' points to 98 * standard 'i2d' function. 'out' points to
@@ -268,6 +269,7 @@ ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
268 } 269 }
269 return 0; 270 return 0;
270} 271}
272LCRYPTO_ALIAS(ASN1_item_ex_i2d);
271 273
272int 274int
273ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, 275ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out,
@@ -275,6 +277,7 @@ ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out,
275{ 277{
276 return asn1_template_ex_i2d(pval, out, tt, -1, 0); 278 return asn1_template_ex_i2d(pval, out, tt, -1, 0);
277} 279}
280LCRYPTO_ALIAS(ASN1_template_i2d);
278 281
279static int 282static int
280asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 283asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,