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.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_enc.c b/src/lib/libcrypto/asn1/tasn_enc.c
index be0579f840..b71993a139 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.32 2023/07/05 21:23:36 beck Exp $ */ 1/* $OpenBSD: tasn_enc.c,v 1.33 2023/07/28 10:00:10 tb 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 */
@@ -271,14 +271,6 @@ ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it,
271} 271}
272LCRYPTO_ALIAS(ASN1_item_ex_i2d); 272LCRYPTO_ALIAS(ASN1_item_ex_i2d);
273 273
274int
275ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out,
276 const ASN1_TEMPLATE *tt)
277{
278 return asn1_template_ex_i2d(pval, out, tt, -1, 0);
279}
280LCRYPTO_ALIAS(ASN1_template_i2d);
281
282static int 274static int
283asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 275asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
284 const ASN1_TEMPLATE *tt, int tag, int iclass) 276 const ASN1_TEMPLATE *tt, int tag, int iclass)