The branch master has been updated via d8f6c533cfcbcad350c9cfb2c112eb9f938ba83c (commit) from 9efdf4ad6b130aa4e206a8fd612539925c0b1e45 (commit)
- Log ----------------------------------------------------------------- commit d8f6c533cfcbcad350c9cfb2c112eb9f938ba83c Author: Peiwei Hu <58985155+peiwe...@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 <to...@openssl.org> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16682) ----------------------------------------------------------------------- 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))