summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/tasn_new.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_new.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_new.c')
-rw-r--r--src/lib/libcrypto/asn1/tasn_new.c4
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}
251LCRYPTO_ALIAS(ASN1_template_new);
252 251
253static void 252static void
254asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) 253asn1_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}
321LCRYPTO_ALIAS(ASN1_primitive_new);
322 320
323static void 321static void
324asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) 322asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)