diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_fd.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_fd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_fd.c b/src/lib/libcrypto/bio/bss_fd.c index 7d7c427913..63eac32329 100644 --- a/src/lib/libcrypto/bio/bss_fd.c +++ b/src/lib/libcrypto/bio/bss_fd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_fd.c,v 1.20 2022/01/07 09:02:17 tb Exp $ */ | 1 | /* $OpenBSD: bss_fd.c,v 1.21 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 | * |
@@ -93,6 +93,7 @@ BIO_s_fd(void) | |||
93 | { | 93 | { |
94 | return (&methods_fdp); | 94 | return (&methods_fdp); |
95 | } | 95 | } |
96 | LCRYPTO_ALIAS(BIO_s_fd); | ||
96 | 97 | ||
97 | BIO * | 98 | BIO * |
98 | BIO_new_fd(int fd, int close_flag) | 99 | BIO_new_fd(int fd, int close_flag) |
@@ -104,6 +105,7 @@ BIO_new_fd(int fd, int close_flag) | |||
104 | BIO_set_fd(ret, fd, close_flag); | 105 | BIO_set_fd(ret, fd, close_flag); |
105 | return (ret); | 106 | return (ret); |
106 | } | 107 | } |
108 | LCRYPTO_ALIAS(BIO_new_fd); | ||
107 | 109 | ||
108 | static int | 110 | static int |
109 | fd_new(BIO *bi) | 111 | fd_new(BIO *bi) |
@@ -251,6 +253,7 @@ BIO_fd_should_retry(int i) | |||
251 | } | 253 | } |
252 | return (0); | 254 | return (0); |
253 | } | 255 | } |
256 | LCRYPTO_ALIAS(BIO_fd_should_retry); | ||
254 | 257 | ||
255 | int | 258 | int |
256 | BIO_fd_non_fatal_error(int err) | 259 | BIO_fd_non_fatal_error(int err) |
@@ -267,3 +270,4 @@ BIO_fd_non_fatal_error(int err) | |||
267 | } | 270 | } |
268 | return (0); | 271 | return (0); |
269 | } | 272 | } |
273 | LCRYPTO_ALIAS(BIO_fd_non_fatal_error); | ||