diff options
| author | tb <> | 2023-07-28 10:00:10 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 10:00:10 +0000 |
| commit | 6602851323526cd6d822de23c4b19db917aa927a (patch) | |
| tree | 8272f88698795f7034962dbe4a4dec21929fd6ba /src/lib/libcrypto/asn1/tasn_fre.c | |
| parent | 01880b11cac352ccba5d827f27af88f31718069a (diff) | |
| download | openbsd-6602851323526cd6d822de23c4b19db917aa927a.tar.gz openbsd-6602851323526cd6d822de23c4b19db917aa927a.tar.bz2 openbsd-6602851323526cd6d822de23c4b19db917aa927a.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.c | 4 |
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 | } |
| 188 | LCRYPTO_ALIAS(ASN1_template_free); | ||
| 189 | 188 | ||
| 190 | void | 189 | void |
| 191 | ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) | 190 | ASN1_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 | } |
| 245 | LCRYPTO_ALIAS(ASN1_primitive_free); | ||
