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

Unified Diff: net/quic/crypto/proof_test.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/proof_source_chromium.cc ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/quic/crypto/proof_source_chromium.cc ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698