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

Unified Diff: webrtc/p2p/base/packetsocketfactory.h

Issue 2557803002: Add disabled certificate check support to IceServer PeerConnection API. (Closed)
Patch Set: Add disabled certificate check support to IceServer PeerConnection API. 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
Index: webrtc/p2p/base/packetsocketfactory.h
diff --git a/webrtc/p2p/base/packetsocketfactory.h b/webrtc/p2p/base/packetsocketfactory.h
index 290d9ca844b9ebcd4c92541b7e30bf2959430016..09ed17f72e6a76e86304705e4dc1a1b561cef98f 100644
--- a/webrtc/p2p/base/packetsocketfactory.h
+++ b/webrtc/p2p/base/packetsocketfactory.h
@@ -25,6 +25,7 @@ class PacketSocketFactory {
OPT_SSLTCP = 0x01, // Pseudo-TLS.
OPT_TLS = 0x02,
OPT_STUN = 0x04,
+ OPT_INSECURE_CERT_CHECK = 0x08, // Disable certificate validation.
pthatcher1 2016/12/07 21:29:35 I think this would be cleaner as: OPT_FAKE_SSL =
hnsl1 2016/12/12 16:08:13 If you want to rename OPT_SSLTCP to OPT_FAKE_SSL,
pthatcher1 2016/12/12 23:12:29 The point I was trying to make is that flattening
};
PacketSocketFactory() { }

Powered by Google App Engine
This is Rietveld 408576698