From a30823c80f8c1f4ac22fb358cab65ce4e81a5046 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Tue, 9 Mar 2021 17:25:26 +1000 Subject: Add new filter BIO BIO_f_readbuffer() This allows BIO_tell() and BIO_seek() to work for BIO's that do not support these methods. The main use case for this is file/fd BIO's that use stdin. This works for stdin taken from input redirection (command < file), and stdin via pipe (cat file | command). Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/14407) --- doc/build.info | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/build.info') diff --git a/doc/build.info b/doc/build.info index e53b3d1007..0a13f26927 100644 --- a/doc/build.info +++ b/doc/build.info @@ -570,6 +570,10 @@ DEPEND[html/man3/BIO_f_prefix.html]=man3/BIO_f_prefix.pod GENERATE[html/man3/BIO_f_prefix.html]=man3/BIO_f_prefix.pod DEPEND[man/man3/BIO_f_prefix.3]=man3/BIO_f_prefix.pod GENERATE[man/man3/BIO_f_prefix.3]=man3/BIO_f_prefix.pod +DEPEND[html/man3/BIO_f_readbuffer.html]=man3/BIO_f_readbuffer.pod +GENERATE[html/man3/BIO_f_readbuffer.html]=man3/BIO_f_readbuffer.pod +DEPEND[man/man3/BIO_f_readbuffer.3]=man3/BIO_f_readbuffer.pod +GENERATE[man/man3/BIO_f_readbuffer.3]=man3/BIO_f_readbuffer.pod DEPEND[html/man3/BIO_f_ssl.html]=man3/BIO_f_ssl.pod GENERATE[html/man3/BIO_f_ssl.html]=man3/BIO_f_ssl.pod DEPEND[man/man3/BIO_f_ssl.3]=man3/BIO_f_ssl.pod @@ -2772,6 +2776,7 @@ html/man3/BIO_f_cipher.html \ html/man3/BIO_f_md.html \ html/man3/BIO_f_null.html \ html/man3/BIO_f_prefix.html \ +html/man3/BIO_f_readbuffer.html \ html/man3/BIO_f_ssl.html \ html/man3/BIO_find_type.html \ html/man3/BIO_get_data.html \ @@ -3342,6 +3347,7 @@ man/man3/BIO_f_cipher.3 \ man/man3/BIO_f_md.3 \ man/man3/BIO_f_null.3 \ man/man3/BIO_f_prefix.3 \ +man/man3/BIO_f_readbuffer.3 \ man/man3/BIO_f_ssl.3 \ man/man3/BIO_find_type.3 \ man/man3/BIO_get_data.3 \ -- cgit v1.2.3