summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_fd.c')
-rw-r--r--src/lib/libcrypto/bio/bss_fd.c6
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}
96LCRYPTO_ALIAS(BIO_s_fd);
96 97
97BIO * 98BIO *
98BIO_new_fd(int fd, int close_flag) 99BIO_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}
108LCRYPTO_ALIAS(BIO_new_fd);
107 109
108static int 110static int
109fd_new(BIO *bi) 111fd_new(BIO *bi)
@@ -251,6 +253,7 @@ BIO_fd_should_retry(int i)
251 } 253 }
252 return (0); 254 return (0);
253} 255}
256LCRYPTO_ALIAS(BIO_fd_should_retry);
254 257
255int 258int
256BIO_fd_non_fatal_error(int err) 259BIO_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}
273LCRYPTO_ALIAS(BIO_fd_non_fatal_error);