From cd48de90fe30c83a4498a8023d52f5f0b9d62d5c Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 29 Nov 2021 18:37:34 +0000 Subject: Hide BIO_s_file_internal() from internal view. ok jsing --- src/lib/libcrypto/bio/bio.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 78949f051e..b147e13e5f 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bio.h,v 1.47 2021/11/01 08:14:36 tb Exp $ */ +/* $OpenBSD: bio.h,v 1.48 2021/11/29 18:37:34 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -600,7 +600,9 @@ int BIO_get_new_index(void); const BIO_METHOD *BIO_s_file(void); BIO *BIO_new_file(const char *filename, const char *mode); BIO *BIO_new_fp(FILE *stream, int close_flag); -# define BIO_s_file_internal BIO_s_file +#ifndef LIBRESSL_INTERNAL +#define BIO_s_file_internal BIO_s_file +#endif BIO *BIO_new(const BIO_METHOD *type); int BIO_set(BIO *a, const BIO_METHOD *type); int BIO_free(BIO *a); -- cgit v1.2.3-55-g6feb