Index: webrtc/base/opensslidentity.cc |
diff --git a/webrtc/base/opensslidentity.cc b/webrtc/base/opensslidentity.cc |
index 0260387925bcdb3073f3e3222b9135ba74f6c205..3c421db07ce44cbcef69adf279a4fb460bd36f83 100644 |
--- a/webrtc/base/opensslidentity.cc |
+++ b/webrtc/base/opensslidentity.cc |
@@ -280,11 +280,11 @@ bool OpenSSLCertificate::GetSignatureDigestAlgorithm( |
return true; |
} |
-bool OpenSSLCertificate::GetChain(SSLCertChain** chain) const { |
+rtc::scoped_ptr<SSLCertChain> OpenSSLCertificate::GetChain() const { |
// Chains are not yet supported when using OpenSSL. |
// OpenSSLStreamAdapter::SSLVerifyCallback currently requires the remote |
// certificate to be self-signed. |
- return false; |
+ return nullptr; |
} |
bool OpenSSLCertificate::ComputeDigest(const std::string& algorithm, |