bio_enc.c: add memory allocation check
authorPeiwei Hu <jlu.hpw@foxmail.com>
Mon, 6 Dec 2021 09:33:42 +0000 (17:33 +0800)
committerPauli <pauli@openssl.org>
Wed, 8 Dec 2021 04:11:16 +0000 (15:11 +1100)
commit684326d3bd3131debcdc410790e8dcf16f96103f
treeb40f5667b45c3b1896c41f49a95e280d1481d1a8
parent3410f1045af1913c89f5dc06ad4998a60e57fd90
bio_enc.c: add memory allocation check

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17206)
test/bio_enc_test.c