diff options
Diffstat (limited to 'remoting/base/rsa_key_pair.cc')
-rw-r--r-- | remoting/base/rsa_key_pair.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/base/rsa_key_pair.cc b/remoting/base/rsa_key_pair.cc index 95572f9..9f8b11f 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; |