| Index: base/crypto/encryptor_nss.cc
|
| diff --git a/base/crypto/encryptor_nss.cc b/base/crypto/encryptor_nss.cc
|
| index ef77d9dd99456ff7fb678abac133a9a1ac5cb677..737e8f2d9da6c63b2dffebbee8f326e424c3ca6e 100644
|
| --- a/base/crypto/encryptor_nss.cc
|
| +++ b/base/crypto/encryptor_nss.cc
|
| @@ -48,9 +48,6 @@ bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
|
| }
|
|
|
| bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
|
| - if (plaintext.size() == 0)
|
| - return false;
|
| -
|
| ScopedPK11Context context(PK11_CreateContextBySymKey(CKM_AES_CBC_PAD,
|
| CKA_ENCRYPT,
|
| key_->key(),
|
|
|