diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-13 18:37:52 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-01-13 18:37:52 +0000 |
commit | 8b3415b9e9bb88cd635200f586374a5a97eb2b52 (patch) | |
tree | 6c0f58e9d4677936aa2d982bd34dd02d04a51278 | |
parent | e91d9b4314358589f0f8f7272b3a5f817dfe39a8 (diff) |
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)).
-rw-r--r-- | lib/libssl/man/BIO_f_ssl.3 | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/libssl/man/BIO_f_ssl.3 b/lib/libssl/man/BIO_f_ssl.3 index 5d72def20d5..3b74a3d6a45 100644 --- a/lib/libssl/man/BIO_f_ssl.3 +++ b/lib/libssl/man/BIO_f_ssl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_ssl.3,v 1.15 2024/01/13 17:50:01 tb Exp $ +.\" $OpenBSD: BIO_f_ssl.3,v 1.16 2024/01/13 18:37:51 tb Exp $ .\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" @@ -607,20 +607,3 @@ and first appeared in SSLeay 0.9.0. All these functions have been available since .Ox 2.4 . -.Pp -In OpenSSL versions before 1.0.0 the -.Xr BIO_pop 3 -call was handled incorrectly: -the I/O BIO reference count was incorrectly incremented (instead of -decremented) and dissociated with the -.Vt SSL -.Vt BIO -even if the -.Vt SSL -.Vt BIO -was not -explicitly being popped (e.g., a pop higher up the chain). -Applications which included workarounds for this bug (e.g., freeing BIOs more -than once) should be modified to handle this fix or they may free up an already -freed -.Vt BIO . |