summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-01-13 18:37:51 +0000
committertb <>2024-01-13 18:37:51 +0000
commit2fb37ea64aefe52a293499061e097d6a2e21c886 (patch)
tree1e0c0066906dfc819fd6672bac7ea1851c42ee20 /src
parent430dc3e262520f229bd0fa0e9176d8e781259ecb (diff)
downloadopenbsd-2fb37ea64aefe52a293499061e097d6a2e21c886.tar.gz
openbsd-2fb37ea64aefe52a293499061e097d6a2e21c886.tar.bz2
openbsd-2fb37ea64aefe52a293499061e097d6a2e21c886.zip
Remove mention of a refcount bug
Said bug was fixed in OpenSSL 1.0.0, released 14 years ago. It is of course unsurprising that you may accidentally increment the refcount if your idiom for decrementing it is CRYPTO_add(&bio-references, -1, CRYPTO_LOCK_BIO)).
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/man/BIO_f_ssl.319
1 files changed, 1 insertions, 18 deletions
diff --git a/src/lib/libssl/man/BIO_f_ssl.3 b/src/lib/libssl/man/BIO_f_ssl.3
index 5d72def20d..3b74a3d6a4 100644
--- a/src/lib/libssl/man/BIO_f_ssl.3
+++ b/src/lib/libssl/man/BIO_f_ssl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_f_ssl.3,v 1.15 2024/01/13 17:50:01 tb Exp $ 1.\" $OpenBSD: BIO_f_ssl.3,v 1.16 2024/01/13 18:37:51 tb Exp $
2.\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 2.\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
@@ -607,20 +607,3 @@ and
607first appeared in SSLeay 0.9.0. 607first appeared in SSLeay 0.9.0.
608All these functions have been available since 608All these functions have been available since
609.Ox 2.4 . 609.Ox 2.4 .
610.Pp
611In OpenSSL versions before 1.0.0 the
612.Xr BIO_pop 3
613call was handled incorrectly:
614the I/O BIO reference count was incorrectly incremented (instead of
615decremented) and dissociated with the
616.Vt SSL
617.Vt BIO
618even if the
619.Vt SSL
620.Vt BIO
621was not
622explicitly being popped (e.g., a pop higher up the chain).
623Applications which included workarounds for this bug (e.g., freeing BIOs more
624than once) should be modified to handle this fix or they may free up an already
625freed
626.Vt BIO .