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

Unified Diff: remoting/protocol/me2me_host_authenticator_factory.cc

Issue 1780403002: Enable Curve25519 in host and client for PIN-based and third-party auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: remoting/protocol/me2me_host_authenticator_factory.cc
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index 1d8b5b08b6a815bc9337108213761ba00b66829b..5bb07d42c8a92ee5c0737af4dc80f8cbc358cd0c 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -119,13 +119,14 @@ scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator(
if (!local_cert_.empty() && key_pair_.get()) {
if (token_validator_factory_) {
return NegotiatingHostAuthenticator::CreateWithThirdPartyAuth(
- local_cert_, key_pair_,
- token_validator_factory_->CreateTokenValidator(
- local_jid, remote_jid));
+ local_jid, remote_jid, local_cert_, key_pair_,
+ token_validator_factory_->CreateTokenValidator(local_jid,
+ remote_jid));
}
return NegotiatingHostAuthenticator::CreateWithPin(
- local_cert_, key_pair_, pin_hash_, pairing_registry_);
+ local_jid, remote_jid, local_cert_, key_pair_, pin_hash_,
+ pairing_registry_);
}
return make_scoped_ptr(
« no previous file with comments | « remoting/protocol/it2me_host_authenticator_factory.cc ('k') | remoting/protocol/negotiating_authenticator_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698