Skip to content

Commit

Permalink
Internal Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 558696647
Change-Id: I0fd9726936ba2aac84898a94ada015cad67ee548
  • Loading branch information
ise-crypto authored and copybara-github committed Aug 21, 2023
1 parent a21c9f8 commit b703fbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/aead/aead_cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ Status AeadCli(absl::string_view mode, const std::string& keyset_filename,
if (!keyset_handle.ok()) return keyset_handle.status();

// Get the primitive.
StatusOr<std::unique_ptr<Aead>> aead = (*keyset_handle)->GetPrimitive<Aead>();
StatusOr<std::unique_ptr<Aead>> aead =
(*keyset_handle)
->GetPrimitive<crypto::tink::Aead>(
crypto::tink::ConfigGlobalRegistry());
if (!aead.ok()) return aead.status();

// Read the input.
Expand Down

0 comments on commit b703fbe

Please sign in to comment.