| Index: webrtc/base/sslstreamadapter.h
|
| diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h
|
| index a50f674e327a82f41a6001267a12e33b4081e8c8..f6f0befa05a8d320da31255c06bf86a579be1584 100644
|
| --- a/webrtc/base/sslstreamadapter.h
|
| +++ b/webrtc/base/sslstreamadapter.h
|
| @@ -154,8 +154,8 @@ class SSLStreamAdapter : public StreamAdapterInterface {
|
|
|
| // Retrieves the peer's X.509 certificate, if a connection has been
|
| // established. It returns the transmitted over SSL, including the entire
|
| - // chain. The returned certificate is owned by the caller.
|
| - virtual bool GetPeerCertificate(SSLCertificate** cert) const = 0;
|
| + // chain.
|
| + virtual rtc::scoped_ptr<SSLCertificate> GetPeerCertificate() const = 0;
|
|
|
| // Retrieves the IANA registration id of the cipher suite used for the
|
| // connection (e.g. 0x2F for "TLS_RSA_WITH_AES_128_CBC_SHA").
|
|
|