From b703fbeec53d995e05bb1c38a3ccf750ad228985 Mon Sep 17 00:00:00 2001 From: Tink Team Date: Mon, 21 Aug 2023 00:12:06 -0700 Subject: [PATCH] Internal Code Change PiperOrigin-RevId: 558696647 Change-Id: I0fd9726936ba2aac84898a94ada015cad67ee548 --- examples/aead/aead_cli.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/aead/aead_cli.cc b/examples/aead/aead_cli.cc index 36e32258..14a23b3f 100644 --- a/examples/aead/aead_cli.cc +++ b/examples/aead/aead_cli.cc @@ -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> aead = (*keyset_handle)->GetPrimitive(); + StatusOr> aead = + (*keyset_handle) + ->GetPrimitive( + crypto::tink::ConfigGlobalRegistry()); if (!aead.ok()) return aead.status(); // Read the input.