cmp: add null pointer check in tear_down test function
authorPauli <pauli@openssl.org>
Wed, 11 Oct 2023 21:46:19 +0000 (08:46 +1100)
committerTomas Mraz <tomas@openssl.org>
Fri, 13 Oct 2023 15:35:35 +0000 (17:35 +0200)
commitda6159e62f681ed7228bd326e314f74417858c6e
tree36a7b53f3e22b88f072fedd552b04909c9dbbd32
parent851f7bdd1ed2559e7d2a02c951be4082b3e596d1
cmp: add null pointer check in tear_down test function

problem reported by: 2ourc3

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22355)

(cherry picked from commit 91a5c0e40cf272d18b65c9e4c9a0268f244758a8)
test/cmp_protect_test.c