From d07aee2c7a33e77d97d8e13811af3637e3849cb2 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 5 Sep 2016 17:26:58 +0100 Subject: Create BIO_read_ex() which handles size_t arguments Also extend BIO_METHOD to be able to supply an implementation for the new BIO_read function. Reviewed-by: Richard Levitte --- crypto/asn1/bio_asn1.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/asn1/bio_asn1.c') diff --git a/crypto/asn1/bio_asn1.c b/crypto/asn1/bio_asn1.c index d3cc108ed3..d270b3313d 100644 --- a/crypto/asn1/bio_asn1.c +++ b/crypto/asn1/bio_asn1.c @@ -79,6 +79,8 @@ static const BIO_METHOD methods_asn1 = { BIO_TYPE_ASN1, "asn1", asn1_bio_write, + /* TODO: Convert to new style read function */ + bread_conv, asn1_bio_read, asn1_bio_puts, asn1_bio_gets, -- cgit v1.2.3