aboutsummaryrefslogtreecommitdiff
path: root/cast/sender/channel/cast_auth_util_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cast/sender/channel/cast_auth_util_unittest.cc')
-rw-r--r--cast/sender/channel/cast_auth_util_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cast/sender/channel/cast_auth_util_unittest.cc b/cast/sender/channel/cast_auth_util_unittest.cc
index 6ea4ea6a..b8a8e90c 100644
--- a/cast/sender/channel/cast_auth_util_unittest.cc
+++ b/cast/sender/channel/cast_auth_util_unittest.cc
@@ -157,7 +157,7 @@ TEST_F(CastAuthUtilTest, VerifySuccess) {
AuthResponse auth_response = CreateAuthResponse(&signed_data, SHA256);
certificate::DateTime now = {};
ASSERT_TRUE(certificate::DateTimeFromSeconds(
- openscreen::platform::GetWallTimeSinceUnixEpoch().count(), &now));
+ openscreen::GetWallTimeSinceUnixEpoch().count(), &now));
ErrorOr<CastDeviceCertPolicy> result = VerifyCredentialsForTest(
auth_response, signed_data, certificate::CRLPolicy::kCrlOptional, nullptr,
nullptr, now);
@@ -210,7 +210,7 @@ TEST_F(CastAuthUtilTest, VerifyUnsupportedDigest) {
AuthResponse auth_response = CreateAuthResponse(&signed_data, SHA1);
certificate::DateTime now = {};
ASSERT_TRUE(certificate::DateTimeFromSeconds(
- openscreen::platform::GetWallTimeSinceUnixEpoch().count(), &now));
+ openscreen::GetWallTimeSinceUnixEpoch().count(), &now));
ErrorOr<CastDeviceCertPolicy> result = VerifyCredentialsForTest(
auth_response, signed_data, certificate::CRLPolicy::kCrlOptional, nullptr,
nullptr, now, true);
@@ -223,7 +223,7 @@ TEST_F(CastAuthUtilTest, VerifyBackwardsCompatibleDigest) {
AuthResponse auth_response = CreateAuthResponse(&signed_data, SHA1);
certificate::DateTime now = {};
ASSERT_TRUE(certificate::DateTimeFromSeconds(
- openscreen::platform::GetWallTimeSinceUnixEpoch().count(), &now));
+ openscreen::GetWallTimeSinceUnixEpoch().count(), &now));
ErrorOr<CastDeviceCertPolicy> result = VerifyCredentialsForTest(
auth_response, signed_data, certificate::CRLPolicy::kCrlOptional, nullptr,
nullptr, now);