| Index: webrtc/p2p/base/dtlstransportchannel.h
|
| diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
|
| index 9c14314135663d58d5edc6a3109cb2bf06c56859..7c0f58bb52a8a93b3331aeb686977a1a2e8c72c2 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(
|
| + const rtc::scoped_refptr<rtc::RTCCertificate>& certificate) override;
|
| + bool GetLocalCertificate(
|
| + rtc::scoped_refptr<rtc::RTCCertificate>* certificate) const override;
|
|
|
| virtual bool SetRemoteFingerprint(const std::string& digest_alg,
|
| const uint8* digest,
|
| @@ -147,7 +149,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
|
|
|
| // Once DTLS has been established, this method retrieves the certificate in
|
| // use by the remote peer, for use in external identity verification.
|
| - virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const;
|
| + bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const override;
|
|
|
| // Once DTLS has established (i.e., this channel is writable), this method
|
| // extracts the keys negotiated during the DTLS handshake, for use in external
|
| @@ -230,7 +232,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<rtc::RTCCertificate> local_certificate_;
|
| rtc::SSLRole ssl_role_;
|
| rtc::SSLProtocolVersion ssl_max_version_;
|
| rtc::Buffer remote_fingerprint_value_;
|
|
|