OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" | 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "base/base64.h" | 9 #include "base/base64.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
13 #include "base/test/test_timeouts.h" | 15 #include "base/test/test_timeouts.h" |
14 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
15 #include "crypto/rsa_private_key.h" | 17 #include "crypto/rsa_private_key.h" |
16 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( | 196 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( |
195 host_cert_, key_pair_, kTestSharedSecret); | 197 host_cert_, key_pair_, kTestSharedSecret); |
196 | 198 |
197 RunChannelAuth(net::ERR_CERT_INVALID, net::ERR_CONNECTION_CLOSED); | 199 RunChannelAuth(net::ERR_CERT_INVALID, net::ERR_CONNECTION_CLOSED); |
198 | 200 |
199 ASSERT_TRUE(host_socket_.get() == nullptr); | 201 ASSERT_TRUE(host_socket_.get() == nullptr); |
200 } | 202 } |
201 | 203 |
202 } // namespace protocol | 204 } // namespace protocol |
203 } // namespace remoting | 205 } // namespace remoting |
OLD | NEW |