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_new.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_new.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_new.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 555267c48f..10c1137dbf 100644 --- a/src/lib/libcrypto/asn1/tasn_new.c +++ b/src/lib/libcrypto/asn1/tasn_new.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tasn_new.c,v 1.24 2023/07/05 21:23:36 beck Exp $ */ | 1 | /* $OpenBSD: tasn_new.c,v 1.25 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 | */ |
| @@ -248,7 +248,6 @@ ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | |||
| 248 | done: | 248 | done: |
| 249 | return ret; | 249 | return ret; |
| 250 | } | 250 | } |
| 251 | LCRYPTO_ALIAS(ASN1_template_new); | ||
| 252 | 251 | ||
| 253 | static void | 252 | static void |
| 254 | asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | 253 | asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) |
| @@ -318,7 +317,6 @@ ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
| 318 | return 1; | 317 | return 1; |
| 319 | return 0; | 318 | return 0; |
| 320 | } | 319 | } |
| 321 | LCRYPTO_ALIAS(ASN1_primitive_new); | ||
| 322 | 320 | ||
| 323 | static void | 321 | static void |
| 324 | asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) | 322 | asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) |
