aboutsummaryrefslogtreecommitdiff
path: root/cc/experimental
diff options
context:
space:
mode:
authorlizatretyakova <lizatretyakova@google.com>2021-10-25 06:48:21 -0700
committerCopybara-Service <copybara-worker@google.com>2021-10-25 06:49:01 -0700
commite87c7797b5eb840bc986f58acea9ea4007a9d6a9 (patch)
treedce9b1d9d27b9f8304eebd9214763666e4901c06 /cc/experimental
parent2f4cde5f3ab861bebb8d4e91b6cd9e178928799f (diff)
downloadtink-e87c7797b5eb840bc986f58acea9ea4007a9d6a9.tar.gz
Replace the deprecated crypto::tink::util::Status::error_message() method with its absl-compatible version crypto::tink::util::Status::message().
This CL is a part of Tink migration to using absl::Status{,Or}. PiperOrigin-RevId: 405387586
Diffstat (limited to 'cc/experimental')
-rw-r--r--cc/experimental/pqcrypto/cecpq2/hybrid/internal/cecpq2_aead_hkdf_hybrid_decrypt_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/experimental/pqcrypto/cecpq2/hybrid/internal/cecpq2_aead_hkdf_hybrid_decrypt_test.cc b/cc/experimental/pqcrypto/cecpq2/hybrid/internal/cecpq2_aead_hkdf_hybrid_decrypt_test.cc
index 110a11022..ad6d3a5e7 100644
--- a/cc/experimental/pqcrypto/cecpq2/hybrid/internal/cecpq2_aead_hkdf_hybrid_decrypt_test.cc
+++ b/cc/experimental/pqcrypto/cecpq2/hybrid/internal/cecpq2_aead_hkdf_hybrid_decrypt_test.cc
@@ -144,7 +144,7 @@ class Cecpq2AeadHkdfHybridDecryptTest : public ::testing::Test {
hybrid_decrypt->Decrypt(Random::GetRandomBytes(16), context_info);
if (decrypt_result.status().code() !=
absl::StatusCode::kInvalidArgument ||
- !absl::StrContains(decrypt_result.status().error_message(),
+ !absl::StrContains(decrypt_result.status().message(),
"ciphertext too short")) {
return decrypt_result.status();
}