Commit 1446adbe authored by vitalybuka's avatar vitalybuka Committed by Commit bot

Enforce TLS for XMPP connections.

BUG=422621

Review URL: https://codereview.chromium.org/698633002

Cr-Commit-Position: refs/heads/master@{#302495}
parent 8574eab9
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment