OLD | NEW |
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 <memory> |
| 6 |
5 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
6 #include "net/base/ip_endpoint.h" | 8 #include "net/base/ip_endpoint.h" |
7 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
8 #include "net/base/test_completion_callback.h" | 10 #include "net/base/test_completion_callback.h" |
9 #include "net/base/test_data_directory.h" | 11 #include "net/base/test_data_directory.h" |
10 #include "net/cert/cert_status_flags.h" | 12 #include "net/cert/cert_status_flags.h" |
11 #include "net/cert/cert_verify_result.h" | 13 #include "net/cert/cert_verify_result.h" |
12 #include "net/cert/x509_certificate.h" | 14 #include "net/cert/x509_certificate.h" |
13 #include "net/quic/crypto/proof_source.h" | 15 #include "net/quic/crypto/proof_source.h" |
14 #include "net/quic/crypto/proof_verifier.h" | 16 #include "net/quic/crypto/proof_verifier.h" |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 for (size_t i = 1; i < certs.size(); i++) { | 422 for (size_t i = 1; i < certs.size(); i++) { |
421 wrong_certs.push_back(certs[i]); | 423 wrong_certs.push_back(certs[i]); |
422 } | 424 } |
423 RunVerification(verifier.get(), hostname, port, server_config, quic_version, | 425 RunVerification(verifier.get(), hostname, port, server_config, quic_version, |
424 chlo_hash, wrong_certs, signature, false); | 426 chlo_hash, wrong_certs, signature, false); |
425 } | 427 } |
426 } | 428 } |
427 | 429 |
428 } // namespace test | 430 } // namespace test |
429 } // namespace net | 431 } // namespace net |
OLD | NEW |