Skip to content

Commit

Permalink
tls: skip android load system ca's unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Nov 19, 2024
1 parent 8410897 commit 70e2e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/asio_ssl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ TEST(SSL_TEST, LoadSystemCa) {
bssl::UniquePtr<SSL_CTX> ssl_ctx;
ssl_ctx.reset(::SSL_CTX_new(::TLS_client_method()));
int result = load_ca_to_ssl_ctx_from_system(ssl_ctx.get());
#if BUILDFLAG(IS_IOS)
// we don't test on iOS
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_ANDROID)
// we don't test on iOS and Android (under QEMU emulator)
GTEST_SKIP() << "skipped as system is not supported";
#else
ASSERT_NE(result, 0);
Expand Down

0 comments on commit 70e2e10

Please sign in to comment.