Index: webrtc/p2p/base/dtlstransport.h |
diff --git a/webrtc/p2p/base/dtlstransport.h b/webrtc/p2p/base/dtlstransport.h |
index 9fd3ba3274ad585e3196bfc36989f763510f650e..8850cfc29a3ab767ab7fc7a2b0b0a00d87c5951b 100644 |
--- a/webrtc/p2p/base/dtlstransport.h |
+++ b/webrtc/p2p/base/dtlstransport.h |
@@ -92,9 +92,7 @@ class DtlsTransport : public Base { |
certificate_ = nullptr; |
} |
- // TODO(hbos): SetLocalCertificate |
- if (!channel->SetLocalIdentity( |
- certificate_ ? certificate_->identity() : nullptr)) { |
+ if (!channel->SetLocalCertificate(certificate_)) { |
return BadTransportDescription("Failed to set local identity.", |
error_desc); |
} |