diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2020-04-01 13:51:40 -0700 |
---|---|---|
committer | Benjamin Kaduk <kaduk@mit.edu> | 2020-04-27 16:22:48 -0700 |
commit | fb121631e702352d47049ac8e2e709b11c3318e4 (patch) | |
tree | b68d2b3e61b94a1f5d8af78c59944ce3ca4ecc7f | |
parent | af0d413654d19acab7c8af0a3f0b3bac0574fe33 (diff) | |
download | openssl-fb121631e702352d47049ac8e2e709b11c3318e4.zip openssl-fb121631e702352d47049ac8e2e709b11c3318e4.tar.gz openssl-fb121631e702352d47049ac8e2e709b11c3318e4.tar.bz2 |
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)
-rw-r--r-- | test/sslapitest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index f9349bc..779176a 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -659,7 +659,6 @@ end: return testresult; } -#endif /* * Very focused test to exercise a single case in the server-side state @@ -771,6 +770,7 @@ end: return testresult; } +#endif static int execute_test_large_message(const SSL_METHOD *smeth, const SSL_METHOD *cmeth, |