From 39f1af7ade1e236a51a12238c57fd4e9b29b7c0e Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 29 Nov 2021 18:37:34 +0000 Subject: [PATCH] Hide BIO_s_file_internal() from internal view. ok jsing --- lib/libcrypto/bio/bio.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/bio/bio.h b/lib/libcrypto/bio/bio.h index 78949f051ed..b147e13e5f2 100644 --- a/lib/libcrypto/bio/bio.h +++ b/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); -- 2.20.1