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 "net/cert/cert_verify_proc.h" | 5 #include "net/cert/cert_verify_proc.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
| 9 #include "base/callback_helpers.h" |
9 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "base/sha1.h" | 12 #include "base/sha1.h" |
12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
13 #include "crypto/sha2.h" | 14 #include "crypto/sha2.h" |
14 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
15 #include "net/base/test_data_directory.h" | 16 #include "net/base/test_data_directory.h" |
16 #include "net/cert/asn1_util.h" | 17 #include "net/cert/asn1_util.h" |
17 #include "net/cert/cert_status_flags.h" | 18 #include "net/cert/cert_status_flags.h" |
18 #include "net/cert/cert_verifier.h" | 19 #include "net/cert/cert_verifier.h" |
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1422 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_COMMON_NAME_INVALID); | 1423 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_COMMON_NAME_INVALID); |
1423 } | 1424 } |
1424 } | 1425 } |
1425 | 1426 |
1426 WRAPPED_INSTANTIATE_TEST_CASE_P( | 1427 WRAPPED_INSTANTIATE_TEST_CASE_P( |
1427 VerifyName, | 1428 VerifyName, |
1428 CertVerifyProcNameTest, | 1429 CertVerifyProcNameTest, |
1429 testing::ValuesIn(kVerifyNameData)); | 1430 testing::ValuesIn(kVerifyNameData)); |
1430 | 1431 |
1431 } // namespace net | 1432 } // namespace net |
OLD | NEW |