diff options
author | lizatretyakova <lizatretyakova@google.com> | 2022-03-23 05:34:11 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-03-23 05:34:54 -0700 |
commit | cee5a98fdeac5e36d0c5fc9251571f3952be7964 (patch) | |
tree | 8a2580d4c9a03b094e06fb9ff68bc01cfb14eba3 /cc/experimental | |
parent | 8d7d11a1bfdb00f1324359da94b6cddfe95a57a4 (diff) | |
download | tink-cee5a98fdeac5e36d0c5fc9251571f3952be7964.tar.gz |
Update documenting comment to use more up-to-date APIs of StatusOr.
PiperOrigin-RevId: 436713491
Diffstat (limited to 'cc/experimental')
-rw-r--r-- | cc/experimental/pqcrypto/cecpq2/hybrid/cecpq2_hybrid_key_templates.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/experimental/pqcrypto/cecpq2/hybrid/cecpq2_hybrid_key_templates.h b/cc/experimental/pqcrypto/cecpq2/hybrid/cecpq2_hybrid_key_templates.h index 1f6c01066..e8b08f636 100644 --- a/cc/experimental/pqcrypto/cecpq2/hybrid/cecpq2_hybrid_key_templates.h +++ b/cc/experimental/pqcrypto/cecpq2/hybrid/cecpq2_hybrid_key_templates.h @@ -33,7 +33,7 @@ namespace tink { // auto handle_result = KeysetHandle::GenerateNew( // Cecpq2HybridKeyTemplates::Cecpq2P256HkdfHmacSha256Aes128Gcm()); // if (!handle_result.ok()) { /* fail with error */ } -// auto keyset_handle = std::move(handle_result.ValueOrDie()); +// auto keyset_handle = std::move(handle_result.value()); // Returns a KeyTemplate that generates new instances of // Cecpq2AeadHkdfPrivateKey with the following parameters: |