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.
@@ -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,
