Skip to content

Commit

Permalink
Internal Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 580826442
Change-Id: I378c26755f3df42db461376a43a888b74bd2a439
  • Loading branch information
ise-crypto authored and Copybara-Service committed Nov 9, 2023
1 parent 8852617 commit 75db47a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tink/prf/prf_config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ TEST_F(PrfConfigTest, RegisterNonFipsTemplates) {
non_fips_key_templates.push_back(PrfKeyTemplates::AesCmac());

for (auto key_template : non_fips_key_templates) {
auto new_keyset_handle_result = KeysetHandle::GenerateNew(key_template);
auto new_keyset_handle_result =
KeysetHandle::GenerateNew(key_template, KeyGenConfigGlobalRegistry());
EXPECT_THAT(new_keyset_handle_result.status(),
StatusIs(absl::StatusCode::kNotFound));
}
Expand All @@ -87,7 +88,8 @@ TEST_F(PrfConfigTest, RegisterFipsValidTemplates) {
fips_key_templates.push_back(PrfKeyTemplates::HmacSha512());

for (auto key_template : fips_key_templates) {
auto new_keyset_handle_result = KeysetHandle::GenerateNew(key_template);
auto new_keyset_handle_result =
KeysetHandle::GenerateNew(key_template, KeyGenConfigGlobalRegistry());
EXPECT_THAT(new_keyset_handle_result, IsOk());
}
}
Expand Down

0 comments on commit 75db47a

Please sign in to comment.