summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio/bf_buff.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-07 09:02:19 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-07 09:02:19 +0000
commitcfaff9ceceace6d718348763840ff85e2f5a66f8 (patch)
tree8a53d4ac747307444a7aa5746a20a46d89d1ab82 /lib/libcrypto/bio/bf_buff.c
parentd4f70f6a3128687f8c605edf41e07f1e6bb22533 (diff)
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 'lib/libcrypto/bio/bf_buff.c')
-rw-r--r--lib/libcrypto/bio/bf_buff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/bio/bf_buff.c b/lib/libcrypto/bio/bf_buff.c
index 5b9ee35da84..42414bb51a0 100644
--- a/lib/libcrypto/bio/bf_buff.c
+++ b/lib/libcrypto/bio/bf_buff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bf_buff.c,v 1.25 2018/05/01 13:29:09 tb Exp $ */
+/* $OpenBSD: bf_buff.c,v 1.26 2022/01/07 09:02:17 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -63,6 +63,8 @@
#include <openssl/bio.h>
#include <openssl/err.h>
+#include "bio_local.h"
+
static int buffer_write(BIO *h, const char *buf, int num);
static int buffer_read(BIO *h, char *buf, int size);
static int buffer_puts(BIO *h, const char *str);