diff options
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) |