| Index: base/crypto/encryptor.h
|
| diff --git a/base/crypto/encryptor.h b/base/crypto/encryptor.h
|
| index f1d6f28e70e8e278884322c43f7f802827b17fb8..7718240bdc4f3a02438524951515e53e9753891d 100644
|
| --- a/base/crypto/encryptor.h
|
| +++ b/base/crypto/encryptor.h
|
| @@ -44,7 +44,12 @@ class Encryptor {
|
| SymmetricKey* key_;
|
| Mode mode_;
|
|
|
| -#if defined(USE_NSS)
|
| +#if defined(USE_OPENSSL)
|
| + bool Crypt(bool encrypt, // Pass true to encrypt, false to decrypt.
|
| + const std::string& input,
|
| + std::string* output);
|
| + std::string iv_;
|
| +#elif defined(USE_NSS)
|
| ScopedPK11Slot slot_;
|
| ScopedSECItem param_;
|
| #elif defined(OS_MACOSX)
|
|
|