[openssl] openssl-3.0 update
Dr. Paul Dale
pauli at openssl.org
Tue Sep 28 09:26:31 UTC 2021
The branch openssl-3.0 has been updated
via 51b5e8b8f8f8a9df2b2234bc2f777ad1430017bb (commit)
from 4ff1639adb732f0f49652ed22124df2c0b199726 (commit)
- Log -----------------------------------------------------------------
commit 51b5e8b8f8f8a9df2b2234bc2f777ad1430017bb
Author: Peiwei Hu <58985155+PeiweiHu at users.noreply.github.com>
Date: Sun Sep 26 15:28:19 2021 +0800
Fix return value of BIO_free
CLA: trivial
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16682)
(cherry picked from commit d8f6c533cfcbcad350c9cfb2c112eb9f938ba83c)
-----------------------------------------------------------------------
Summary of changes:
crypto/bio/bio_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c
index a378f186d7..25df70f760 100644
--- a/crypto/bio/bio_lib.c
+++ b/crypto/bio/bio_lib.c
@@ -140,7 +140,7 @@ int BIO_free(BIO *a)
if (HAS_CALLBACK(a)) {
ret = (int)bio_call_callback(a, BIO_CB_FREE, NULL, 0, 0, 0L, 1L, NULL);
if (ret <= 0)
- return ret;
+ return 0;
}
if ((a->method != NULL) && (a->method->destroy != NULL))
More information about the openssl-commits
mailing list