]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/ssl_old_test.c: Add check for OPENSSL_malloc
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Tue, 14 Jun 2022 09:15:05 +0000 (17:15 +0800)
committerPauli <pauli@openssl.org>
Thu, 16 Jun 2022 05:18:23 +0000 (15:18 +1000)
commitb2feb9f0e394da6570346598837f1b01eb58c028
tree43bd3248f7b52bbab9ccd5776a503d56c7fdb75d
parent16249341bb64329c2542c3d1e23b97ed3c44fad3
test/ssl_old_test.c: Add check for OPENSSL_malloc

As the potential failure of the OPENSSL_malloc(),
it should be better to add the check and return
error if fails.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18555)
test/ssl_old_test.c