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)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 27 Apr 2020 23:22:48 +0000 (16:22 -0700)
commitfb121631e702352d47049ac8e2e709b11c3318e4
treeb68d2b3e61b94a1f5d8af78c59944ce3ca4ecc7f
parentaf0d413654d19acab7c8af0a3f0b3bac0574fe33
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)
test/sslapitest.c