summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/b_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/b_posix.c')
-rw-r--r--src/lib/libcrypto/bio/b_posix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/b_posix.c b/src/lib/libcrypto/bio/b_posix.c
index aed51bd717..d78f25a1f7 100644
--- a/src/lib/libcrypto/bio/b_posix.c
+++ b/src/lib/libcrypto/bio/b_posix.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: b_posix.c,v 1.2 2018/03/17 16:20:01 beck Exp $ */ 1/* $OpenBSD: b_posix.c,v 1.3 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 *
@@ -72,11 +72,13 @@ BIO_sock_init(void)
72 return (0); 72 return (0);
73 return (1); 73 return (1);
74} 74}
75LCRYPTO_ALIAS(BIO_sock_init);
75 76
76void 77void
77BIO_sock_cleanup(void) 78BIO_sock_cleanup(void)
78{ 79{
79} 80}
81LCRYPTO_ALIAS(BIO_sock_cleanup);
80 82
81int 83int
82BIO_socket_nbio(int s, int mode) 84BIO_socket_nbio(int s, int mode)
@@ -88,3 +90,4 @@ BIO_socket_nbio(int s, int mode)
88 return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1); 90 return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1);
89 return (1); 91 return (1);
90} 92}
93LCRYPTO_ALIAS(BIO_socket_nbio);