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

Unified Diff: net/quic/quic_crypto_server_stream_test.cc

Issue 16638016: Implement ChannelIDVerifier using NSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Disable QuicCryptoServerStreamTest.ChannelID. Created 7 years, 6 months 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/channel_id_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_server_stream_test.cc
===================================================================
--- net/quic/quic_crypto_server_stream_test.cc (revision 203993)
+++ net/quic/quic_crypto_server_stream_test.cc (working copy)
@@ -244,13 +244,13 @@
// Only 2 client hellos need to be sent in the no-certs case: one to get the
// source-address token and the second to finish.
- // TODO(rtenneti): Enable testing of ProofVerifier.
wtc 2013/06/12 23:48:21 This test does not verify certs, so we don't need
ramant (doing other things) 2013/06/12 23:53:24 Sounds great.
EXPECT_EQ(2, CompleteCryptoHandshake());
EXPECT_TRUE(stream_.encryption_established());
EXPECT_TRUE(stream_.handshake_confirmed());
}
-TEST_F(QuicCryptoServerStreamTest, ChannelID) {
+// TODO(rtenneti): Enable testing of ChannelID.
+TEST_F(QuicCryptoServerStreamTest, DISABLED_ChannelID) {
if (!Aes128Gcm12Encrypter::IsSupported()) {
LOG(INFO) << "AES GCM not supported. Test skipped.";
return;
@@ -261,9 +261,8 @@
EXPECT_EQ(2, CompleteCryptoHandshake());
wtc 2013/06/12 23:48:21 With a real implementation of ChannelIDVerifier::V
ramant (doing other things) 2013/06/12 23:53:24 This changes sounds good to me. My pending CL has
EXPECT_TRUE(stream_.encryption_established());
EXPECT_TRUE(stream_.handshake_confirmed());
- // TODO(rtenneti): Enable testing of ChannelID.
- // EXPECT_EQ(CryptoTestUtils::ChannelIDKeyForHostname("test.example.com"),
- // stream_.crypto_negotiated_params().channel_id);
+ EXPECT_EQ(CryptoTestUtils::ChannelIDKeyForHostname("test.example.com"),
+ stream_.crypto_negotiated_params().channel_id);
}
} // namespace
« no previous file with comments | « net/quic/crypto/channel_id_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698