From c9588d0f1aed99dbdd5b114d458b3e4daf31e824 Mon Sep 17 00:00:00 2001 From: toidiu Date: Wed, 22 Mar 2023 21:13:52 -0700 Subject: [PATCH] fix: remove broken check in test (#3901) --- tests/unit/s2n_pq_kem_test.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/unit/s2n_pq_kem_test.c b/tests/unit/s2n_pq_kem_test.c index 47c5821c856..70855176658 100644 --- a/tests/unit/s2n_pq_kem_test.c +++ b/tests/unit/s2n_pq_kem_test.c @@ -54,19 +54,6 @@ int main() { BEGIN_TEST(); -#if defined(OPENSSL_IS_AWSLC) && defined(AWS_LC_API_VERSION) - const unsigned long lc_vers = awslc_api_version_num(); -#else - const unsigned long lc_vers = SSLeay(); -#endif - - /* If using non-FIPS AWS-LC >= v1.4.0 (API vers. 20), expect Kyber512 KEM from AWS-LC */ - if (s2n_libcrypto_is_awslc() && lc_vers >= 20 && !s2n_libcrypto_is_fips()) { - EXPECT_TRUE(s2n_libcrypto_supports_kyber_512()); - } else { - EXPECT_FALSE(s2n_libcrypto_supports_kyber_512()); - } - for (size_t i = 0; i < s2n_array_len(test_vectors); i++) { const struct s2n_kem_test_vector vector = test_vectors[i]; const struct s2n_kem *kem = vector.kem;