| Index: net/quic/crypto/proof_test.cc
|
| diff --git a/net/quic/crypto/proof_test.cc b/net/quic/crypto/proof_test.cc
|
| index 5336e72aba421193913d1107182c7279c6dfe45f..4407b93e9c2dcb3956e469f5bf3452b0811f57cc 100644
|
| --- a/net/quic/crypto/proof_test.cc
|
| +++ b/net/quic/crypto/proof_test.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/files/file_path.h"
|
| +#include "net/base/ip_endpoint.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/test_completion_callback.h"
|
| #include "net/base/test_data_directory.h"
|
| @@ -118,11 +119,13 @@ TEST(ProofTest, DISABLED_Verify) {
|
| const vector<string>* certs;
|
| const vector<string>* first_certs;
|
| string error_details, signature, first_signature;
|
| + IPEndPoint server_ip;
|
|
|
| - ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */,
|
| - &first_certs, &first_signature));
|
| - ASSERT_TRUE(source->GetProof(hostname, server_config, false /* no ECDSA */,
|
| - &certs, &signature));
|
| + ASSERT_TRUE(source->GetProof(server_ip, hostname, server_config,
|
| + false /* no ECDSA */, &first_certs,
|
| + &first_signature));
|
| + ASSERT_TRUE(source->GetProof(server_ip, hostname, server_config,
|
| + false /* no ECDSA */, &certs, &signature));
|
|
|
| // Check that the proof source is caching correctly:
|
| ASSERT_EQ(first_certs, certs);
|
|
|