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

Side by Side Diff: net/ssl/openssl_client_key_store_unittest.cc

Issue 2400033005: Use BoringSSL scopers in //net. (Closed)
Patch Set: eroman comments Created 4 years, 2 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/ssl/openssl_client_key_store.cc ('k') | net/ssl/openssl_ssl_util.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/ssl/openssl_client_key_store.h" 5 #include "net/ssl/openssl_client_key_store.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "crypto/scoped_openssl_types.h"
10 #include "net/ssl/ssl_private_key.h" 9 #include "net/ssl/ssl_private_key.h"
11 #include "net/test/cert_test_util.h" 10 #include "net/test/cert_test_util.h"
12 #include "net/test/test_data_directory.h" 11 #include "net/test/test_data_directory.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 namespace net { 14 namespace net {
16 15
17 namespace { 16 namespace {
18 17
19 // A common test class to ensure that the store is flushed after 18 // A common test class to ensure that the store is flushed after
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 162
164 EXPECT_TRUE(fetch_key1); 163 EXPECT_TRUE(fetch_key1);
165 EXPECT_TRUE(fetch_key2); 164 EXPECT_TRUE(fetch_key2);
166 165
167 EXPECT_EQ(fetch_key1.get(), priv_key1.get()); 166 EXPECT_EQ(fetch_key1.get(), priv_key1.get());
168 EXPECT_EQ(fetch_key2.get(), priv_key2.get()); 167 EXPECT_EQ(fetch_key2.get(), priv_key2.get());
169 } 168 }
170 169
171 } // namespace 170 } // namespace
172 } // namespace net 171 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/openssl_client_key_store.cc ('k') | net/ssl/openssl_ssl_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698