summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_file.c
diff options
context:
space:
mode:
authortb <>2022-01-07 09:02:18 +0000
committertb <>2022-01-07 09:02:18 +0000
commit8d74ebda124d78459caefe10402685b3d761662a (patch)
tree63702983643c0f30ff2f3288b678033f62b0de2d /src/lib/libcrypto/bio/bss_file.c
parentd93aa16238be38535b8d4292ab7ac0ac0a70ce70 (diff)
downloadopenbsd-8d74ebda124d78459caefe10402685b3d761662a.tar.gz
openbsd-8d74ebda124d78459caefe10402685b3d761662a.tar.bz2
openbsd-8d74ebda124d78459caefe10402685b3d761662a.zip
Add a new, mostly empty, bio_local.h and include it in the files
that will need it in the upcoming bump. discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bss_file.c')
-rw-r--r--src/lib/libcrypto/bio/bss_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c
index fe937388b2..0c9b755025 100644
--- a/src/lib/libcrypto/bio/bss_file.c
+++ b/src/lib/libcrypto/bio/bss_file.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bss_file.c,v 1.33 2018/05/30 00:23:04 tb Exp $ */ 1/* $OpenBSD: bss_file.c,v 1.34 2022/01/07 09:02:17 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 *
@@ -90,6 +90,8 @@
90#include <openssl/bio.h> 90#include <openssl/bio.h>
91#include <openssl/err.h> 91#include <openssl/err.h>
92 92
93#include "bio_local.h"
94
93static int file_write(BIO *h, const char *buf, int num); 95static int file_write(BIO *h, const char *buf, int num);
94static int file_read(BIO *h, char *buf, int size); 96static int file_read(BIO *h, char *buf, int size);
95static int file_puts(BIO *h, const char *str); 97static int file_puts(BIO *h, const char *str);