summaryrefslogtreecommitdiffstats
path: root/base/crypto/encryptor_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/crypto/encryptor_unittest.cc')
-rw-r--r--base/crypto/encryptor_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/crypto/encryptor_unittest.cc b/base/crypto/encryptor_unittest.cc
index 218c7ba..b75c360 100644
--- a/base/crypto/encryptor_unittest.cc
+++ b/base/crypto/encryptor_unittest.cc
@@ -25,7 +25,7 @@ TEST(EncryptorTest, MAYBE(EncryptDecrypt)) {
base::Encryptor encryptor;
// The IV must be exactly as long a the cipher block size.
std::string iv("the iv: 16 bytes");
- EXPECT_TRUE(encryptor.Init(key.release(), base::Encryptor::CBC, iv));
+ EXPECT_TRUE(encryptor.Init(key.get(), base::Encryptor::CBC, iv));
std::string plaintext("this is the plaintext");
std::string ciphertext;