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/bio/bss_file.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/bio/bss_file.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_file.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c index 0c9b755025..9b6ca2bdd8 100644 --- a/src/lib/libcrypto/bio/bss_file.c +++ b/src/lib/libcrypto/bio/bss_file.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_file.c,v 1.34 2022/01/07 09:02:17 tb Exp $ */ | 1 | /* $OpenBSD: bss_file.c,v 1.35 2023/07/05 21:23:37 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 | * |
| @@ -137,6 +137,7 @@ BIO_new_file(const char *filename, const char *mode) | |||
| 137 | BIO_set_fp(ret, file, BIO_CLOSE); | 137 | BIO_set_fp(ret, file, BIO_CLOSE); |
| 138 | return (ret); | 138 | return (ret); |
| 139 | } | 139 | } |
| 140 | LCRYPTO_ALIAS(BIO_new_file); | ||
| 140 | 141 | ||
| 141 | BIO * | 142 | BIO * |
| 142 | BIO_new_fp(FILE *stream, int close_flag) | 143 | BIO_new_fp(FILE *stream, int close_flag) |
| @@ -149,12 +150,14 @@ BIO_new_fp(FILE *stream, int close_flag) | |||
| 149 | BIO_set_fp(ret, stream, close_flag); | 150 | BIO_set_fp(ret, stream, close_flag); |
| 150 | return (ret); | 151 | return (ret); |
| 151 | } | 152 | } |
| 153 | LCRYPTO_ALIAS(BIO_new_fp); | ||
| 152 | 154 | ||
| 153 | const BIO_METHOD * | 155 | const BIO_METHOD * |
| 154 | BIO_s_file(void) | 156 | BIO_s_file(void) |
| 155 | { | 157 | { |
| 156 | return (&methods_filep); | 158 | return (&methods_filep); |
| 157 | } | 159 | } |
| 160 | LCRYPTO_ALIAS(BIO_s_file); | ||
| 158 | 161 | ||
| 159 | static int | 162 | static int |
| 160 | file_new(BIO *bi) | 163 | file_new(BIO *bi) |
