summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_utl.c
diff options
context:
space:
mode:
authorjsing <>2022-05-12 19:55:58 +0000
committerjsing <>2022-05-12 19:55:58 +0000
commiteec77395673b056f336be1185470b7a68c75cb48 (patch)
treeb5e23269e739d47dba6f5486f7f9278b96a620db /src/lib/libcrypto/asn1/tasn_utl.c
parent3ba21be2154b1d989ba4c41393dd1c9433ea1161 (diff)
downloadopenbsd-eec77395673b056f336be1185470b7a68c75cb48.tar.gz
openbsd-eec77395673b056f336be1185470b7a68c75cb48.tar.bz2
openbsd-eec77395673b056f336be1185470b7a68c75cb48.zip
Rename asn1_enc_free() to asn1_enc_cleanup().
This function does not actually free an ASN1_ENCODING, which are embedded in a struct. Name suggested by tb@
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_utl.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_utl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_utl.c b/src/lib/libcrypto/asn1/tasn_utl.c
index 1fd061f9f8..86cd42eec7 100644
--- a/src/lib/libcrypto/asn1/tasn_utl.c
+++ b/src/lib/libcrypto/asn1/tasn_utl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_utl.c,v 1.16 2022/05/12 19:33:19 jsing Exp $ */ 1/* $OpenBSD: tasn_utl.c,v 1.17 2022/05/12 19:55:58 jsing 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 */
@@ -161,7 +161,7 @@ asn1_enc_clear(ASN1_ENCODING *aenc)
161} 161}
162 162
163void 163void
164asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 164asn1_enc_cleanup(ASN1_VALUE **pval, const ASN1_ITEM *it)
165{ 165{
166 ASN1_ENCODING *aenc; 166 ASN1_ENCODING *aenc;
167 167