From eda59e2615444e1beb07dfdbb83b2f36f90e744e Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Wed, 11 Jan 2012 06:19:21 +0000 Subject: 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 --- remoting/protocol/v2_authenticator_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remoting/protocol/v2_authenticator_unittest.cc') 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)); } -- cgit v1.1