| Index: webrtc/p2p/base/dtlstransportchannel.h
|
| diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
|
| index 1bf77b6566a44cf958aa38e9535a1fd098f4cd43..4291bd9b4baea5d56baf71ce4513e276489dbd2a 100644
|
| --- a/webrtc/p2p/base/dtlstransportchannel.h
|
| +++ b/webrtc/p2p/base/dtlstransportchannel.h
|
| @@ -99,8 +99,10 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
|
| virtual IceRole GetIceRole() const {
|
| return channel_->GetIceRole();
|
| }
|
| - virtual bool SetLocalIdentity(rtc::SSLIdentity *identity);
|
| - virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const;
|
| + bool SetLocalCertificate(
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate> certificate) override;
|
| + bool GetLocalCertificate(
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) const override;
|
|
|
| virtual bool SetRemoteFingerprint(const std::string& digest_alg,
|
| const uint8* digest,
|
| @@ -236,7 +238,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
|
| StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_.
|
| std::vector<std::string> srtp_ciphers_; // SRTP ciphers to use with DTLS.
|
| State dtls_state_;
|
| - rtc::SSLIdentity* local_identity_;
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate> local_certificate_;
|
| rtc::SSLRole ssl_role_;
|
| rtc::SSLProtocolVersion ssl_max_version_;
|
| rtc::Buffer remote_fingerprint_value_;
|
|
|