summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1_item.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/asn1_item.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_item.c b/src/lib/libcrypto/asn1/asn1_item.c
index 99a08698c8..86c800e3ad 100644
--- a/src/lib/libcrypto/asn1/asn1_item.c
+++ b/src/lib/libcrypto/asn1/asn1_item.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1_item.c,v 1.20 2024/01/28 14:43:48 joshua Exp $ */ 1/* $OpenBSD: asn1_item.c,v 1.21 2024/04/09 13:55:02 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -139,6 +139,7 @@ ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn,
139 free(str); 139 free(str);
140 return (1); 140 return (1);
141} 141}
142LCRYPTO_ALIAS(ASN1_item_digest);
142 143
143/* 144/*
144 * ASN1_ITEM version of ASN1_dup(): follows the same model except there's no 145 * ASN1_ITEM version of ASN1_dup(): follows the same model except there's no
@@ -237,6 +238,7 @@ ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2,
237 238
238 return ret; 239 return ret;
239} 240}
241LCRYPTO_ALIAS(ASN1_item_sign);
240 242
241static int 243static int
242asn1_item_set_algorithm_identifiers(EVP_MD_CTX *ctx, X509_ALGOR *algor1, 244asn1_item_set_algorithm_identifiers(EVP_MD_CTX *ctx, X509_ALGOR *algor1,
@@ -376,6 +378,7 @@ ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2,
376 378
377 return ret; 379 return ret;
378} 380}
381LCRYPTO_ALIAS(ASN1_item_sign_ctx);
379 382
380int 383int
381ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, 384ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
@@ -462,6 +465,7 @@ ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a,
462 465
463 return ret; 466 return ret;
464} 467}
468LCRYPTO_ALIAS(ASN1_item_verify);
465 469
466#define HEADER_SIZE 8 470#define HEADER_SIZE 8
467#define ASN1_CHUNK_INITIAL_SIZE (16 * 1024) 471#define ASN1_CHUNK_INITIAL_SIZE (16 * 1024)