diff options
Diffstat (limited to 'src/lib/libcrypto/bio/b_posix.c')
| -rw-r--r-- | src/lib/libcrypto/bio/b_posix.c | 5 |
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 | } |
| 75 | LCRYPTO_ALIAS(BIO_sock_init); | ||
| 75 | 76 | ||
| 76 | void | 77 | void |
| 77 | BIO_sock_cleanup(void) | 78 | BIO_sock_cleanup(void) |
| 78 | { | 79 | { |
| 79 | } | 80 | } |
| 81 | LCRYPTO_ALIAS(BIO_sock_cleanup); | ||
| 80 | 82 | ||
| 81 | int | 83 | int |
| 82 | BIO_socket_nbio(int s, int mode) | 84 | BIO_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 | } |
| 93 | LCRYPTO_ALIAS(BIO_socket_nbio); | ||
