| Index: chrome/browser/password_manager/encryptor_unittest.cc
|
| diff --git a/chrome/browser/password_manager/encryptor_unittest.cc b/chrome/browser/password_manager/encryptor_unittest.cc
|
| index 8ca176f6a616df0df82b9bec2657b0986149a6af..4ae41e66dd7edfbec7290994dc6e7db123a3566e 100644
|
| --- a/chrome/browser/password_manager/encryptor_unittest.cc
|
| +++ b/chrome/browser/password_manager/encryptor_unittest.cc
|
| @@ -97,9 +97,6 @@ TEST_F(EncryptorTest, EncryptionDecryption) {
|
| EXPECT_EQ(plaintext, "hel");
|
| }
|
|
|
| -// Encryption currently only enabled on Mac and Windows.
|
| -// TODO(dhollowa): http://crbug.com/49115 Implement secure store on Linux.
|
| -#if defined(OS_WIN) || defined(OS_MACOSX)
|
| TEST_F(EncryptorTest, CypherTextDiffers) {
|
| std::string plaintext;
|
| std::string result;
|
| @@ -137,11 +134,10 @@ TEST_F(EncryptorTest, DecryptError) {
|
| ASSERT_TRUE(Encryptor::EncryptString(plaintext, &ciphertext));
|
| EXPECT_NE(plaintext, ciphertext);
|
| ASSERT_LT(4UL, ciphertext.size());
|
| - ciphertext[3] = ciphertext[0] + 1;
|
| + ciphertext[3] = ciphertext[3] + 1;
|
| EXPECT_FALSE(Encryptor::DecryptString(ciphertext, &result));
|
| EXPECT_NE(plaintext, result);
|
| EXPECT_TRUE(result.empty());
|
| }
|
| -#endif
|
|
|
| } // namespace
|
|
|