| Index: components/gcm_driver/crypto/gcm_encryption_provider.cc
|
| diff --git a/components/gcm_driver/crypto/gcm_encryption_provider.cc b/components/gcm_driver/crypto/gcm_encryption_provider.cc
|
| index 5ed56e4fd47d84226c9e8566b5fd2b95fa532366..7bf9900778c0868a637162a401c83a92559dec2c 100644
|
| --- a/components/gcm_driver/crypto/gcm_encryption_provider.cc
|
| +++ b/components/gcm_driver/crypto/gcm_encryption_provider.cc
|
| @@ -177,7 +177,7 @@ void GCMEncryptionProvider::DecryptMessageWithKey(
|
|
|
| std::string plaintext;
|
|
|
| - GCMMessageCryptographer cryptographer;
|
| + GCMMessageCryptographer cryptographer(pair.public_key(), dh);
|
| if (!cryptographer.Decrypt(message.raw_data, shared_secret, salt, rs,
|
| &plaintext)) {
|
| DLOG(ERROR) << "Unable to decrypt the incoming data.";
|
|
|