Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index b34c1b8b3c21a22c3353f63980fedcd9be449815..59f93a98915bc90b77f6c5c3c6a9b436665b9392 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -160,7 +160,7 @@ class SimpleHost { |
scoped_ptr<protocol::AuthenticatorFactory> factory( |
new protocol::It2MeHostAuthenticatorFactory( |
- key_pair->GenerateCertificate(), key_pair->private_key(), |
+ key_pair->GenerateCertificate(), *key_pair->private_key(), |
access_code)); |
host->SetAuthenticatorFactory(factory.Pass()); |
} else { |
@@ -243,7 +243,7 @@ class SimpleHost { |
scoped_ptr<protocol::AuthenticatorFactory> factory( |
new protocol::Me2MeHostAuthenticatorFactory( |
xmpp_login_, key_pair_.GenerateCertificate(), |
- key_pair_.private_key(), "")); |
+ *key_pair_.private_key(), "")); |
host_->SetAuthenticatorFactory(factory.Pass()); |
} |
} |