diff options
author | tb <> | 2021-11-29 18:37:34 +0000 |
---|---|---|
committer | tb <> | 2021-11-29 18:37:34 +0000 |
commit | cd48de90fe30c83a4498a8023d52f5f0b9d62d5c (patch) | |
tree | 2e1911348ff40d02f2dc3fe5c51f9e3d34b331ac | |
parent | aa4ce0135dd3bc544775ea25bff216e87486ec80 (diff) | |
download | openbsd-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.h | 6 |
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); | |||
600 | const BIO_METHOD *BIO_s_file(void); | 600 | const BIO_METHOD *BIO_s_file(void); |
601 | BIO *BIO_new_file(const char *filename, const char *mode); | 601 | BIO *BIO_new_file(const char *filename, const char *mode); |
602 | BIO *BIO_new_fp(FILE *stream, int close_flag); | 602 | BIO *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 | ||
604 | BIO *BIO_new(const BIO_METHOD *type); | 606 | BIO *BIO_new(const BIO_METHOD *type); |
605 | int BIO_set(BIO *a, const BIO_METHOD *type); | 607 | int BIO_set(BIO *a, const BIO_METHOD *type); |
606 | int BIO_free(BIO *a); | 608 | int BIO_free(BIO *a); |