summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_mbstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_mbstr.c')
-rw-r--r--src/lib/libcrypto/asn1/a_mbstr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/a_mbstr.c b/src/lib/libcrypto/asn1/a_mbstr.c
index 32b39ad5db..f050f97539 100644
--- a/src/lib/libcrypto/asn1/a_mbstr.c
+++ b/src/lib/libcrypto/asn1/a_mbstr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_mbstr.c,v 1.26 2022/12/26 07:18:51 jmc Exp $ */ 1/* $OpenBSD: a_mbstr.c,v 1.27 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 1999. 3 * project 1999.
4 */ 4 */
@@ -90,6 +90,7 @@ ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
90{ 90{
91 return ASN1_mbstring_ncopy(out, in, len, inform, mask, 0, 0); 91 return ASN1_mbstring_ncopy(out, in, len, inform, mask, 0, 0);
92} 92}
93LCRYPTO_ALIAS(ASN1_mbstring_copy);
93 94
94int 95int
95ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, 96ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
@@ -255,6 +256,7 @@ ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
255 } 256 }
256 return -1; 257 return -1;
257} 258}
259LCRYPTO_ALIAS(ASN1_mbstring_ncopy);
258 260
259/* This function traverses a string and passes the value of each character 261/* This function traverses a string and passes the value of each character
260 * to an optional function along with a void * argument. 262 * to an optional function along with a void * argument.