diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_new.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/tasn_new.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_new.c b/src/lib/libcrypto/asn1/tasn_new.c index 5d436cf25c..555267c48f 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.23 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: tasn_new.c,v 1.24 2023/07/05 21:23:36 beck 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 | */ |
| @@ -79,6 +79,7 @@ ASN1_item_new(const ASN1_ITEM *it) | |||
| 79 | return ret; | 79 | return ret; |
| 80 | return NULL; | 80 | return NULL; |
| 81 | } | 81 | } |
| 82 | LCRYPTO_ALIAS(ASN1_item_new); | ||
| 82 | 83 | ||
| 83 | /* Allocate an ASN1 structure */ | 84 | /* Allocate an ASN1 structure */ |
| 84 | 85 | ||
| @@ -87,6 +88,7 @@ ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
| 87 | { | 88 | { |
| 88 | return asn1_item_ex_new(pval, it); | 89 | return asn1_item_ex_new(pval, it); |
| 89 | } | 90 | } |
| 91 | LCRYPTO_ALIAS(ASN1_item_ex_new); | ||
| 90 | 92 | ||
| 91 | static int | 93 | static int |
| 92 | asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) | 94 | asn1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) |
| @@ -246,6 +248,7 @@ ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | |||
| 246 | done: | 248 | done: |
| 247 | return ret; | 249 | return ret; |
| 248 | } | 250 | } |
| 251 | LCRYPTO_ALIAS(ASN1_template_new); | ||
| 249 | 252 | ||
| 250 | static void | 253 | static void |
| 251 | asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) | 254 | asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) |
| @@ -315,6 +318,7 @@ ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) | |||
| 315 | return 1; | 318 | return 1; |
| 316 | return 0; | 319 | return 0; |
| 317 | } | 320 | } |
| 321 | LCRYPTO_ALIAS(ASN1_primitive_new); | ||
| 318 | 322 | ||
| 319 | static void | 323 | static void |
| 320 | asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) | 324 | asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) |
