sslapitest: only compile test when it will be used
authorBenjamin Kaduk <bkaduk@akamai.com>
Wed, 1 Apr 2020 20:51:40 +0000 (13:51 -0700)
committerBen Kaduk <kaduk@mit.edu>
Mon, 27 Apr 2020 23:52:04 +0000 (16:52 -0700)
commit0f1f0bf99aad06008f840e1a5bf93a8745e9a774
tree2fe3ef9ef666428b1bbcc7daca126b7808a371df
parent1ab9298e43b6023f4083609493f20e354aa7faab
sslapitest: only compile test when it will be used

The test_ccs_change_cipher() test routine is used only when TLS 1.2
is enabled; to fix the strict-warnings build we should not try to
compile it when TLS 1.2 is disabled, either.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11458)

(cherry picked from commit fb121631e702352d47049ac8e2e709b11c3318e4)
test/sslapitest.c