diff options
| author | beck <> | 2023-07-05 21:23:37 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-05 21:23:37 +0000 |
| commit | 0da1913b3c721e1a62fd66bc43547b4e910cbc34 (patch) | |
| tree | 3cafd04134ea26f8b5da5e120671d9a01bff9156 /src/lib/libcrypto/asn1/a_mbstr.c | |
| parent | 78a308af2f74ee5b41c0815ab21ef9d01c1fcdd9 (diff) | |
| download | openbsd-0da1913b3c721e1a62fd66bc43547b4e910cbc34.tar.gz openbsd-0da1913b3c721e1a62fd66bc43547b4e910cbc34.tar.bz2 openbsd-0da1913b3c721e1a62fd66bc43547b4e910cbc34.zip | |
Hide symbols in asn1 and bio
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/asn1/a_mbstr.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_mbstr.c | 4 |
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 | } |
| 93 | LCRYPTO_ALIAS(ASN1_mbstring_copy); | ||
| 93 | 94 | ||
| 94 | int | 95 | int |
| 95 | ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, | 96 | ASN1_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 | } |
| 259 | LCRYPTO_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. |
