summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2021-11-29 18:37:34 +0000
committertb <>2021-11-29 18:37:34 +0000
commitcd48de90fe30c83a4498a8023d52f5f0b9d62d5c (patch)
tree2e1911348ff40d02f2dc3fe5c51f9e3d34b331ac
parentaa4ce0135dd3bc544775ea25bff216e87486ec80 (diff)
downloadopenbsd-cd48de90fe30c83a4498a8023d52f5f0b9d62d5c.tar.gz
openbsd-cd48de90fe30c83a4498a8023d52f5f0b9d62d5c.tar.bz2
openbsd-cd48de90fe30c83a4498a8023d52f5f0b9d62d5c.zip
Hide BIO_s_file_internal() from internal view.
ok jsing
-rw-r--r--src/lib/libcrypto/bio/bio.h6
1 files changed, 4 insertions, 2 deletions
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 @@
1/* $OpenBSD: bio.h,v 1.47 2021/11/01 08:14:36 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.48 2021/11/29 18:37:34 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 *
@@ -600,7 +600,9 @@ int BIO_get_new_index(void);
600const BIO_METHOD *BIO_s_file(void); 600const BIO_METHOD *BIO_s_file(void);
601BIO *BIO_new_file(const char *filename, const char *mode); 601BIO *BIO_new_file(const char *filename, const char *mode);
602BIO *BIO_new_fp(FILE *stream, int close_flag); 602BIO *BIO_new_fp(FILE *stream, int close_flag);
603# define BIO_s_file_internal BIO_s_file 603#ifndef LIBRESSL_INTERNAL
604#define BIO_s_file_internal BIO_s_file
605#endif
604BIO *BIO_new(const BIO_METHOD *type); 606BIO *BIO_new(const BIO_METHOD *type);
605int BIO_set(BIO *a, const BIO_METHOD *type); 607int BIO_set(BIO *a, const BIO_METHOD *type);
606int BIO_free(BIO *a); 608int BIO_free(BIO *a);