| Index: remoting/protocol/v1_authenticator.h
|
| diff --git a/remoting/protocol/v1_authenticator.h b/remoting/protocol/v1_authenticator.h
|
| index d53c5bfd90e1bda2f2e8bbb549c707f28394edbd..16eccb585e54e2a1358bb806360dd2461cd5f7fa 100644
|
| --- a/remoting/protocol/v1_authenticator.h
|
| +++ b/remoting/protocol/v1_authenticator.h
|
| @@ -54,7 +54,7 @@ class V1HostAuthenticator : public Authenticator {
|
|
|
| private:
|
| std::string local_cert_;
|
| - crypto::RSAPrivateKey* local_private_key_;
|
| + scoped_ptr<crypto::RSAPrivateKey> local_private_key_;
|
| std::string shared_secret_;
|
| std::string remote_jid_;
|
| State state_;
|
| @@ -66,8 +66,8 @@ class V1HostAuthenticatorFactory : public AuthenticatorFactory {
|
| public:
|
| // Doesn't take ownership of |local_private_key|.
|
| V1HostAuthenticatorFactory(const std::string& local_cert,
|
| - crypto::RSAPrivateKey* local_private_key,
|
| - const std::string& shared_secret);
|
| + const crypto::RSAPrivateKey* local_private_key,
|
| + const std::string& shared_secret);
|
| virtual ~V1HostAuthenticatorFactory();
|
|
|
| // AuthenticatorFactory interface.
|
|
|