Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index da4787f524aac87309450d5fcebb41a69eb0c5f7..1ac47ccd9fecc59d6649367da75943303c516107 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -633,7 +633,7 @@ bool HostProcess::ApplyConfig(scoped_ptr<JsonHostConfig> config) { |
} |
key_pair_ = RsaKeyPair::FromString(key_base64); |
- if (!key_pair_) { |
+ if (!key_pair_.get()) { |
LOG(ERROR) << "Invalid private key in the config file."; |
return false; |
} |