summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_f_md.3
diff options
context:
space:
mode:
authorschwarze <>2022-12-18 19:35:36 +0000
committerschwarze <>2022-12-18 19:35:36 +0000
commitf26ef0aa360dae497f219007f5241029c6f83cf0 (patch)
tree347e585185753dc753be34949f9b80aa126c76dd /src/lib/libcrypto/man/BIO_f_md.3
parent1ab199ddcad92be2f6a793e79c23b1387880332e (diff)
downloadopenbsd-f26ef0aa360dae497f219007f5241029c6f83cf0.tar.gz
openbsd-f26ef0aa360dae497f219007f5241029c6f83cf0.tar.bz2
openbsd-f26ef0aa360dae497f219007f5241029c6f83cf0.zip
new manual page BIO_dup_chain(3)
Diffstat (limited to 'src/lib/libcrypto/man/BIO_f_md.3')
-rw-r--r--src/lib/libcrypto/man/BIO_f_md.315
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_md.3 b/src/lib/libcrypto/man/BIO_f_md.3
index d1519bb079..d98111f459 100644
--- a/src/lib/libcrypto/man/BIO_f_md.3
+++ b/src/lib/libcrypto/man/BIO_f_md.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: BIO_f_md.3,v 1.11 2019/06/06 01:06:58 schwarze Exp $ 1.\" $OpenBSD: BIO_f_md.3,v 1.12 2022/12/18 19:35:36 schwarze Exp $
2.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2000, 2006, 2009, 2016 The OpenSSL Project. 5.\" Copyright (c) 2000, 2006, 2009, 2016 The OpenSSL Project.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: June 6 2019 $ 52.Dd $Mdocdate: December 18 2022 $
53.Dt BIO_F_MD 3 53.Dt BIO_F_MD 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -145,6 +145,15 @@ is an internal context structure.
145Changes made to this context will affect the digest BIO itself, and 145Changes made to this context will affect the digest BIO itself, and
146the context pointer will become invalid when the digest BIO is freed. 146the context pointer will become invalid when the digest BIO is freed.
147.Pp 147.Pp
148When a chain containing a message digest BIO is copied with
149.Xr BIO_dup_chain 3 ,
150.Xr EVP_MD_CTX_copy_ex 3
151is called internally to automatically copy the message digest context
152from the existing BIO object to the new one,
153and the init flag that can be retrieved with
154.Xr BIO_get_init 3
155is set to 1.
156.Pp
148After the digest has been retrieved from a digest BIO, 157After the digest has been retrieved from a digest BIO,
149it must be reinitialized by calling 158it must be reinitialized by calling
150.Xr BIO_reset 3 159.Xr BIO_reset 3