diff options
author | tholenst <tholenst@google.com> | 2020-10-07 05:45:42 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-10-07 05:46:18 -0700 |
commit | 975c143d30b3a92b1b80910be8f91b86c9927707 (patch) | |
tree | 18dc45e94842acc28863ff6baa6c5fb2143c68f0 /cc/primitive_set.h | |
parent | ff850e67b1f3571169754412e7ce94e379046d0f (diff) | |
download | tink-975c143d30b3a92b1b80910be8f91b86c9927707.tar.gz |
Change get_output_prefix(key) to GetOutputPrefix(key_id, output_prefix_type).
We change the arguments, and get closer to the Google C++ style guide by renaming.
PiperOrigin-RevId: 335847935
Diffstat (limited to 'cc/primitive_set.h')
-rw-r--r-- | cc/primitive_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/primitive_set.h b/cc/primitive_set.h index 95e061ab0..b5a435ac9 100644 --- a/cc/primitive_set.h +++ b/cc/primitive_set.h @@ -61,7 +61,8 @@ class PrimitiveSet { return util::Status(crypto::tink::util::error::INVALID_ARGUMENT, "The key must be ENABLED."); } - auto identifier_result = CryptoFormat::get_output_prefix(key); + auto identifier_result = + CryptoFormat::GetOutputPrefix(key.key_id(), key.output_prefix_type()); if (!identifier_result.ok()) return identifier_result.status(); if (primitive == nullptr) { return util::Status(crypto::tink::util::error::INVALID_ARGUMENT, |