Skip to content

Commit

Permalink
Fix android
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 3, 2025
1 parent bf6ca30 commit 06ced6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/crypto_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ TEST(CryptoTest, Strndup) {
TEST(CryptoTest, aws_lc_assert_entropy_cpu_jitter) {
#if defined(FIPS_ENTROPY_SOURCE_JITTER_CPU)
ASSERT_EQ(1, RAND_assert_entropy_cpu_jitter());
#else
#elif !defined(OPENSSL_ANDROID)
ASSERT_DEATH_IF_SUPPORTED( { RAND_assert_entropy_cpu_jitter(); } , "");
#else
SUCCEED();
#endif
}

Expand Down

0 comments on commit 06ced6e

Please sign in to comment.