]> git.ipfire.org Git - thirdparty/openssl.git/commit
Checking the return of BIO_new_fp(). If it returns NULL, then it is unnecessary to...
authorxkernel <xkernel.wang@foxmail.com>
Wed, 19 Oct 2022 16:40:25 +0000 (00:40 +0800)
committerPauli <pauli@openssl.org>
Sun, 23 Oct 2022 22:59:59 +0000 (09:59 +1100)
commitfb03e6145961005a6db011d2f36660d2eed734e2
treed26e249f52a27a10ba582c9bab2ab6a86b200cfc
parent5b9480fc1e814bf8fa2dce0dbbede147f04d477c
Checking the return of BIO_new_fp(). If it returns NULL, then it is unnecessary to build the BIO chain and better make the caller directly return NULL

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19445)
apps/lib/apps.c