summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvitalybuka <vitalybuka@chromium.org>2014-11-03 14:07:14 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-03 22:07:33 +0000
commit1446adbe868c20079b43e62f12a20fcba4b0dfd9 (patch)
tree9f468f68e9619213336af334e91441099d413c9f
parent8574eab93a0defa2e175f6d0e3e0e9802df49899 (diff)
downloadchromium_src-1446adbe868c20079b43e62f12a20fcba4b0dfd9.zip
chromium_src-1446adbe868c20079b43e62f12a20fcba4b0dfd9.tar.gz
chromium_src-1446adbe868c20079b43e62f12a20fcba4b0dfd9.tar.bz2
Enforce TLS for XMPP connections.
BUG=422621 Review URL: https://codereview.chromium.org/698633002 Cr-Commit-Position: refs/heads/master@{#302495}
-rw-r--r--jingle/notifier/base/notifier_options_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/jingle/notifier/base/notifier_options_util.cc b/jingle/notifier/base/notifier_options_util.cc
index 9949d4e..a8615b1 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);