| Index: remoting/protocol/it2me_host_authenticator_factory.cc
|
| diff --git a/remoting/protocol/it2me_host_authenticator_factory.cc b/remoting/protocol/it2me_host_authenticator_factory.cc
|
| index 65145c20cd2b9c8487146f6b5b07b0fa4f82836e..21809de0402bf186273feac10f285c90ab49da8d 100644
|
| --- a/remoting/protocol/it2me_host_authenticator_factory.cc
|
| +++ b/remoting/protocol/it2me_host_authenticator_factory.cc
|
| @@ -14,10 +14,10 @@ namespace protocol {
|
|
|
| It2MeHostAuthenticatorFactory::It2MeHostAuthenticatorFactory(
|
| const std::string& local_cert,
|
| - const crypto::RSAPrivateKey* local_private_key,
|
| + const crypto::RSAPrivateKey& local_private_key,
|
| const std::string& shared_secret)
|
| : local_cert_(local_cert),
|
| - local_private_key_(local_private_key->Copy()),
|
| + local_private_key_(local_private_key.Copy()),
|
| shared_secret_(shared_secret) {
|
| }
|
|
|
| @@ -32,10 +32,10 @@ Authenticator* It2MeHostAuthenticatorFactory::CreateAuthenticator(
|
| //
|
| // if (V2Authenticator::IsEkeMessage(first_message)) {
|
| // return V2Authenticator::CreateForHost(
|
| - // local_cert_, local_private_key_.get(), shared_secret_);
|
| + // local_cert_, *local_private_key_, shared_secret_);
|
| // }
|
|
|
| - return new V1HostAuthenticator(local_cert_, local_private_key_.get(),
|
| + return new V1HostAuthenticator(local_cert_, *local_private_key_,
|
| shared_secret_, remote_jid);
|
| }
|
|
|
|
|