From 3befffa39dbaf2688d823fcf2bdfc07d2487be48 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 20 Oct 2016 15:18:39 +0100 Subject: 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 --- crypto/evp/bio_enc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/evp/bio_enc.c') diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c index fff3e2735e..7d596e0f48 100644 --- a/crypto/evp/bio_enc.c +++ b/crypto/evp/bio_enc.c @@ -47,6 +47,8 @@ typedef struct enc_struct { static const BIO_METHOD methods_enc = { BIO_TYPE_CIPHER, "cipher", + /* TODO: Convert to new style write function */ + bwrite_conv, enc_write, /* TODO: Convert to new style read function */ bread_conv, -- cgit v1.2.3