summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bf_buff.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-20 16:18:39 +0200
committerMatt Caswell <matt@openssl.org>2016-10-28 10:48:54 +0200
commit3befffa39dbaf2688d823fcf2bdfc07d2487be48 (patch)
tree6fcba25e3d78c48e8c00966a8085b83472395ae1 /crypto/bio/bf_buff.c
parentCreate BIO_read_ex() which handles size_t arguments (diff)
downloadopenssl-3befffa39dbaf2688d823fcf2bdfc07d2487be48.tar.xz
openssl-3befffa39dbaf2688d823fcf2bdfc07d2487be48.zip
Create BIO_write_ex() which handles size_t arguments
Also extend BIO_METHOD to be able to supply an implementation for the new BIO_write_ex function. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/bio/bf_buff.c')
-rw-r--r--crypto/bio/bf_buff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bio/bf_buff.c b/crypto/bio/bf_buff.c
index fc0b8fa648..7a73095488 100644
--- a/crypto/bio/bf_buff.c
+++ b/crypto/bio/bf_buff.c
@@ -25,6 +25,8 @@ static long buffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
static const BIO_METHOD methods_buffer = {
BIO_TYPE_BUFFER,
"buffer",
+ /* TODO: Convert to new style write function */
+ bwrite_conv,
buffer_write,
/* TODO: Convert to new style read function */
bread_conv,