summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
diff options
context:
space:
mode:
authortb <>2024-04-15 15:40:08 +0000
committertb <>2024-04-15 15:40:08 +0000
commit6b4f40197e2ae07caa53cf304deca0b5bfc5514c (patch)
treed4b796385706ef0ad29160e115d1c3c0d9904d9a /src/lib/libcrypto/bio
parent3924b7499b722296b842fd02f66a2a05b7c15acc (diff)
downloadopenbsd-6b4f40197e2ae07caa53cf304deca0b5bfc5514c.tar.gz
openbsd-6b4f40197e2ae07caa53cf304deca0b5bfc5514c.tar.bz2
openbsd-6b4f40197e2ae07caa53cf304deca0b5bfc5514c.zip
Move BIO_CONNECT_{new,free}() to internal-only
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r--src/lib/libcrypto/bio/bss_conn.c10
1 files changed, 5 insertions, 5 deletions
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)