Index: net/quic/test_tools/crypto_test_utils.cc |
diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc |
index 4d18cca20c940ea5cb93d00796d859204d236d49..f279b89033376191b8387700a02955aa8a83b891 100644 |
--- a/net/quic/test_tools/crypto_test_utils.cc |
+++ b/net/quic/test_tools/crypto_test_utils.cc |
@@ -16,6 +16,7 @@ |
#include "net/quic/quic_crypto_server_stream.h" |
#include "net/quic/quic_crypto_stream.h" |
#include "net/quic/quic_server_id.h" |
+#include "net/quic/quic_utils.h" |
#include "net/quic/test_tools/quic_connection_peer.h" |
#include "net/quic/test_tools/quic_framer_peer.h" |
#include "net/quic/test_tools/quic_test_utils.h" |
@@ -180,6 +181,8 @@ int CryptoTestUtils::HandshakeWithFakeClient( |
TestQuicSpdyClientSession client_session(client_conn, DefaultQuicConfig(), |
server_id, &crypto_config); |
+ EXPECT_CALL(client_session, OnProofValid(testing::_)) |
+ .Times(testing::AnyNumber()); |
client_session.GetCryptoStream()->CryptoConnect(); |
CHECK_EQ(1u, client_conn->encrypted_packets_.size()); |