summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/Symbols.list2
-rw-r--r--src/lib/libcrypto/bio/bss_conn.c10
2 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list
index 9327ca0bfb..36bf47c4eb 100644
--- a/src/lib/libcrypto/Symbols.list
+++ b/src/lib/libcrypto/Symbols.list
@@ -217,8 +217,6 @@ BF_encrypt
217BF_ofb64_encrypt 217BF_ofb64_encrypt
218BF_set_key 218BF_set_key
219BIGNUM_it 219BIGNUM_it
220BIO_CONNECT_free
221BIO_CONNECT_new
222BIO_accept 220BIO_accept
223BIO_callback_ctrl 221BIO_callback_ctrl
224BIO_clear_flags 222BIO_clear_flags
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c
index 427bd4b9ed..b4516afa2d 100644
--- a/src/lib/libcrypto/bio/bss_conn.c
+++ b/src/lib/libcrypto/bio/bss_conn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_conn.c,v 1.39 2023/07/07 19:37:53 beck Exp $ */ 1/* $OpenBSD: bss_conn.c,v 1.40 2024/04/15 15:40:08 tb 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 *
@@ -105,8 +105,8 @@ static long conn_callback_ctrl(BIO *h, int cmd, BIO_info_cb *);
105 105
106static int conn_state(BIO *b, BIO_CONNECT *c); 106static int conn_state(BIO *b, BIO_CONNECT *c);
107static void conn_close_socket(BIO *data); 107static void conn_close_socket(BIO *data);
108BIO_CONNECT *BIO_CONNECT_new(void); 108static BIO_CONNECT *BIO_CONNECT_new(void);
109void BIO_CONNECT_free(BIO_CONNECT *a); 109static void BIO_CONNECT_free(BIO_CONNECT *a);
110 110
111static const BIO_METHOD methods_connectp = { 111static const BIO_METHOD methods_connectp = {
112 .type = BIO_TYPE_CONNECT, 112 .type = BIO_TYPE_CONNECT,
@@ -289,7 +289,7 @@ end:
289 return (ret); 289 return (ret);
290} 290}
291 291
292BIO_CONNECT * 292static BIO_CONNECT *
293BIO_CONNECT_new(void) 293BIO_CONNECT_new(void)
294{ 294{
295 BIO_CONNECT *ret; 295 BIO_CONNECT *ret;
@@ -310,7 +310,7 @@ BIO_CONNECT_new(void)
310 return (ret); 310 return (ret);
311} 311}
312 312
313void 313static void
314BIO_CONNECT_free(BIO_CONNECT *a) 314BIO_CONNECT_free(BIO_CONNECT *a)
315{ 315{
316 if (a == NULL) 316 if (a == NULL)