diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 06:19:21 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-11 06:19:21 +0000 |
commit | eda59e2615444e1beb07dfdbb83b2f36f90e744e (patch) | |
tree | 023f14efebc0090495c39672ae931faa56863c49 /remoting/protocol/v2_authenticator_unittest.cc | |
parent | e88006f1a0aaee7d6abd93162be1231cf43ecf97 (diff) | |
download | chromium_src-eda59e2615444e1beb07dfdbb83b2f36f90e744e.zip chromium_src-eda59e2615444e1beb07dfdbb83b2f36f90e744e.tar.gz chromium_src-eda59e2615444e1beb07dfdbb83b2f36f90e744e.tar.bz2 |
Cleanup AuthenticatorFactory implementations.
1. Removed V1HostAuthenticatorFactory and V2HostAuthenticatorFactory, as
they are not used anywhere.
2. Changed the code to pass RSAPrivateKey by reference instead of
pointer.
Review URL: http://codereview.chromium.org/9150014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/v2_authenticator_unittest.cc')
-rw-r--r-- | remoting/protocol/v2_authenticator_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/v2_authenticator_unittest.cc b/remoting/protocol/v2_authenticator_unittest.cc index d1530de..812ee1d 100644 --- a/remoting/protocol/v2_authenticator_unittest.cc +++ b/remoting/protocol/v2_authenticator_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -76,7 +76,7 @@ class V2AuthenticatorTest : public testing::Test { void InitAuthenticators(const std::string& client_secret, const std::string& host_secret) { host_.reset(V2Authenticator::CreateForHost( - host_cert_, private_key_.get(), host_secret)); + host_cert_, *private_key_, host_secret)); client_.reset(V2Authenticator::CreateForClient(client_secret)); } |