diff --git a/examples/daead/deterministic_aead_cli.cc b/examples/daead/deterministic_aead_cli.cc index 11bb129d..7b1b6f39 100644 --- a/examples/daead/deterministic_aead_cli.cc +++ b/examples/daead/deterministic_aead_cli.cc @@ -82,7 +82,9 @@ Status DeterministicAeadCli(absl::string_view mode, // Get the primitive. StatusOr> daead = - (*keyset_handle)->GetPrimitive(); + (*keyset_handle) + ->GetPrimitive( + crypto::tink::ConfigGlobalRegistry()); if (!daead.ok()) return daead.status(); // Read the input.