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

Unified Diff: webrtc/api/peerconnection.cc

Issue 2590153002: Revert of Add disabled certificate check support to IceServer PeerConnection API. (Closed)
Patch Set: Created 4 years 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 | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnection.cc
diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc
index 80c8a11a39572bc4a29a53d35ef742678b5255d8..ebce40ca5eb0cf37d03243663826ea911eda06c3 100644
--- a/webrtc/api/peerconnection.cc
+++ b/webrtc/api/peerconnection.cc
@@ -306,14 +306,8 @@
break;
case TURN:
case TURNS: {
- cricket::RelayServerConfig config = cricket::RelayServerConfig(
- address, port, username, server.password, turn_transport_type);
- if (server.tls_cert_policy ==
- PeerConnectionInterface::kTlsCertPolicyInsecureNoCheck) {
- config.tls_cert_policy =
- cricket::TlsCertPolicy::TLS_CERT_POLICY_INSECURE_NO_CHECK;
- }
- turn_servers->push_back(config);
+ turn_servers->push_back(cricket::RelayServerConfig(
+ address, port, username, server.password, turn_transport_type));
break;
}
case INVALID:
« no previous file with comments | « no previous file | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698