From 6b4f40197e2ae07caa53cf304deca0b5bfc5514c Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 15 Apr 2024 15:40:08 +0000 Subject: Move BIO_CONNECT_{new,free}() to internal-only ok jsing --- src/lib/libcrypto/bio/bss_conn.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/libcrypto/bio/bss_conn.c') 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 @@ -/* $OpenBSD: bss_conn.c,v 1.39 2023/07/07 19:37:53 beck Exp $ */ +/* $OpenBSD: bss_conn.c,v 1.40 2024/04/15 15:40:08 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -105,8 +105,8 @@ static long conn_callback_ctrl(BIO *h, int cmd, BIO_info_cb *); static int conn_state(BIO *b, BIO_CONNECT *c); static void conn_close_socket(BIO *data); -BIO_CONNECT *BIO_CONNECT_new(void); -void BIO_CONNECT_free(BIO_CONNECT *a); +static BIO_CONNECT *BIO_CONNECT_new(void); +static void BIO_CONNECT_free(BIO_CONNECT *a); static const BIO_METHOD methods_connectp = { .type = BIO_TYPE_CONNECT, @@ -289,7 +289,7 @@ end: return (ret); } -BIO_CONNECT * +static BIO_CONNECT * BIO_CONNECT_new(void) { BIO_CONNECT *ret; @@ -310,7 +310,7 @@ BIO_CONNECT_new(void) return (ret); } -void +static void BIO_CONNECT_free(BIO_CONNECT *a) { if (a == NULL) -- cgit v1.2.3-55-g6feb