summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_fre.c
diff options
context:
space:
mode:
authortb <>2023-07-28 10:00:10 +0000
committertb <>2023-07-28 10:00:10 +0000
commitf0045e366b4be4794ddf9c7123b1bb43169d83ea (patch)
tree8272f88698795f7034962dbe4a4dec21929fd6ba /src/lib/libcrypto/asn1/tasn_fre.c
parentb57b8995befab5a960cda55abaa2c8eeb444dd0a (diff)
downloadopenbsd-f0045e366b4be4794ddf9c7123b1bb43169d83ea.tar.gz
openbsd-f0045e366b4be4794ddf9c7123b1bb43169d83ea.tar.bz2
openbsd-f0045e366b4be4794ddf9c7123b1bb43169d83ea.zip
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
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_fre.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_fre.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_fre.c b/src/lib/libcrypto/asn1/tasn_fre.c
index eb205dd6ab..83c073b55d 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.22 2023/07/05 21:23:36 beck Exp $ */ 1/* $OpenBSD: tasn_fre.c,v 1.23 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 */
@@ -185,7 +185,6 @@ ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
185 } else 185 } else
186 asn1_item_free(pval, tt->item); 186 asn1_item_free(pval, tt->item);
187} 187}
188LCRYPTO_ALIAS(ASN1_template_free);
189 188
190void 189void
191ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 190ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
@@ -242,4 +241,3 @@ ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
242 } 241 }
243 *pval = NULL; 242 *pval = NULL;
244} 243}
245LCRYPTO_ALIAS(ASN1_primitive_free);