Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: p2p/base/jseptransport.cc

Issue 3011133002: Remove the support of fallback from DTLS to SDES. (Closed)
Patch Set: Merge and address the comments. Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | p2p/base/transportcontroller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: p2p/base/jseptransport.cc
diff --git a/p2p/base/jseptransport.cc b/p2p/base/jseptransport.cc
index cd564b20aaeb5e91a269dbb9dc82200d16cb0bbd..74094fa07f04ef97a9a632011bb463541bd7f6e9 100644
--- a/p2p/base/jseptransport.cc
+++ b/p2p/base/jseptransport.cc
@@ -330,12 +330,7 @@ bool JsepTransport::ApplyLocalTransportDescription(
std::string* error_desc) {
dtls_transport->ice_transport()->SetIceParameters(
local_description_->GetIceParameters());
- bool ret = true;
- if (certificate_) {
- ret = dtls_transport->SetLocalCertificate(certificate_);
- RTC_DCHECK(ret);
- }
- return ret;
+ return true;
}
bool JsepTransport::ApplyRemoteTransportDescription(
« no previous file with comments | « no previous file | p2p/base/transportcontroller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698