]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix coverity 1516095 deadcode
authorTodd Short <tshort@akamai.com>
Wed, 19 Oct 2022 14:22:29 +0000 (10:22 -0400)
committerPauli <pauli@openssl.org>
Thu, 20 Oct 2022 23:34:55 +0000 (10:34 +1100)
commitdc45bfb4b452ba5a876ebf48791217b69d092ff9
treea1d82312f324b98b6da38ea44c39ebcfcf58c85c
parentd06d5d6b68f39c7f75f1130f984efa78c291fb57
Fix coverity 1516095 deadcode

Unless multiple compression algorithms are configured, test 3 is
not run, so anything looking at `test == 3` is considered dead code.

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