| Index: remoting/base/rsa_key_pair.cc
|
| diff --git a/remoting/base/rsa_key_pair.cc b/remoting/base/rsa_key_pair.cc
|
| index 95572f9030a78f926e64518c48471b00da3489cc..9f8b11f03c690911b028cada25e744be0f9b7743 100644
|
| --- a/remoting/base/rsa_key_pair.cc
|
| +++ b/remoting/base/rsa_key_pair.cc
|
| @@ -97,7 +97,7 @@ std::string RsaKeyPair::GenerateCertificate() const {
|
| key_.get(), "CN=chromoting",
|
| base::RandInt(1, std::numeric_limits<int>::max()),
|
| base::TimeDelta::FromDays(1));
|
| - if (!cert)
|
| + if (!cert.get())
|
| return std::string();
|
|
|
| std::string encoded;
|
|
|