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

Side by Side Diff: net/socket/ssl_client_socket_openssl_unittest.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « net/server/http_server_unittest.cc ('k') | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "net/socket/ssl_client_socket.h" 5 #include "net/socket/ssl_client_socket.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <openssl/bio.h> 10 #include <openssl/bio.h>
11 #include <openssl/bn.h> 11 #include <openssl/bn.h>
12 #include <openssl/evp.h> 12 #include <openssl/evp.h>
13 #include <openssl/pem.h> 13 #include <openssl/pem.h>
14 #include <openssl/rsa.h> 14 #include <openssl/rsa.h>
15 15
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/message_loop/message_loop_proxy.h"
20 #include "base/values.h" 19 #include "base/values.h"
21 #include "crypto/openssl_util.h" 20 #include "crypto/openssl_util.h"
22 #include "crypto/scoped_openssl_types.h" 21 #include "crypto/scoped_openssl_types.h"
23 #include "net/base/address_list.h" 22 #include "net/base/address_list.h"
24 #include "net/base/io_buffer.h" 23 #include "net/base/io_buffer.h"
25 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
26 #include "net/base/test_completion_callback.h" 25 #include "net/base/test_completion_callback.h"
27 #include "net/base/test_data_directory.h" 26 #include "net/base/test_data_directory.h"
28 #include "net/cert/mock_cert_verifier.h" 27 #include "net/cert/mock_cert_verifier.h"
29 #include "net/cert/test_root_certs.h" 28 #include "net/cert/test_root_certs.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 256
258 EXPECT_TRUE(CheckSSLClientSocketSentCert()); 257 EXPECT_TRUE(CheckSSLClientSocketSentCert());
259 258
260 sock_->Disconnect(); 259 sock_->Disconnect();
261 EXPECT_FALSE(sock_->IsConnected()); 260 EXPECT_FALSE(sock_->IsConnected());
262 } 261 }
263 #endif // defined(USE_OPENSSL_CERTS) 262 #endif // defined(USE_OPENSSL_CERTS)
264 263
265 } // namespace 264 } // namespace
266 } // namespace net 265 } // namespace net
OLDNEW
« no previous file with comments | « net/server/http_server_unittest.cc ('k') | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698