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

Unified Diff: jingle/notifier/base/notifier_options_util.cc

Issue 698633002: Enforce TLS for XMPP connections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/base/notifier_options_util.cc
diff --git a/jingle/notifier/base/notifier_options_util.cc b/jingle/notifier/base/notifier_options_util.cc
index 9949d4efef0b91bdfc76b1ce93fa7d37fa854efb..a8615b1a65a1cb6bfec706ab2dbbf29dae83f240 100644
--- a/jingle/notifier/base/notifier_options_util.cc
+++ b/jingle/notifier/base/notifier_options_util.cc
@@ -23,7 +23,7 @@ buzz::XmppClientSettings MakeXmppClientSettings(
xmpp_client_settings.set_user(jid.node());
xmpp_client_settings.set_resource("chrome-sync");
xmpp_client_settings.set_host(jid.domain());
- xmpp_client_settings.set_use_tls(buzz::TLS_ENABLED);
+ xmpp_client_settings.set_use_tls(buzz::TLS_REQUIRED);
xmpp_client_settings.set_auth_token(notifier_options.auth_mechanism,
notifier_options.invalidate_xmpp_login ?
token + "bogus" : token);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698