summaryrefslogtreecommitdiff
path: root/crypto/bio/bss_fd.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-20 15:18:39 +0100
committerMatt Caswell <matt@openssl.org>2016-10-28 09:48:54 +0100
commit3befffa39dbaf2688d823fcf2bdfc07d2487be48 (patch)
tree6fcba25e3d78c48e8c00966a8085b83472395ae1 /crypto/bio/bss_fd.c
parentd07aee2c7a33e77d97d8e13811af3637e3849cb2 (diff)
downloadopenssl-new-3befffa39dbaf2688d823fcf2bdfc07d2487be48.tar.gz
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/bss_fd.c')
-rw-r--r--crypto/bio/bss_fd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c
index 78bbfd6f3b..0f003cd89b 100644
--- a/crypto/bio/bss_fd.c
+++ b/crypto/bio/bss_fd.c
@@ -59,6 +59,8 @@ int BIO_fd_should_retry(int s);
static const BIO_METHOD methods_fdp = {
BIO_TYPE_FD, "file descriptor",
+ /* TODO: Convert to new style write function */
+ bwrite_conv,
fd_write,
/* TODO: Convert to new style read function */
bread_conv,