| Index: base/crypto/encryptor_nss.cc
|
| diff --git a/base/crypto/encryptor_nss.cc b/base/crypto/encryptor_nss.cc
|
| index 6256d7aa1556cc91bbd02dfc8b065d3d4a3edfbc..3b9f7f3aea24aa3dcf6ddbfa54af16da26d1f675 100644
|
| --- a/base/crypto/encryptor_nss.cc
|
| +++ b/base/crypto/encryptor_nss.cc
|
| @@ -85,7 +85,7 @@ bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
|
| }
|
|
|
| bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
|
| - if (ciphertext.size() == 0)
|
| + if (ciphertext.empty())
|
| return false;
|
|
|
| ScopedPK11Context context(PK11_CreateContextBySymKey(CKM_AES_CBC_PAD,
|
|
|