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

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 2401363004: relnote: Deprecate flag quic_disable_pre_32 (Closed)
Patch Set: remove unused LoadTestCert method Created 4 years, 2 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/core/quic_protocol_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index b2d9c55e291c0c540ad1a85b47608d4db6c758da..ba5586b74e7b668fcc543d9189c308a3b00f78c5 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -162,26 +162,22 @@ vector<TestParams> GetTestParams() {
// to do 0-RTT across incompatible versions. Chromium only supports
// a single version at a time anyway. :)
QuicVersionVector all_supported_versions = AllSupportedVersions();
- QuicVersionVector version_buckets[4];
+ QuicVersionVector version_buckets[3];
for (const QuicVersion version : all_supported_versions) {
- if (version <= QUIC_VERSION_30) {
- // Versions: 30
- // v26 adds a hash of the expected leaf cert in the XLCT tag.
- version_buckets[0].push_back(version);
- } else if (version <= QUIC_VERSION_32) {
+ if (version <= QUIC_VERSION_32) {
// Versions: 31-32
// v31 adds a hash of the CHLO into the proof signature.
- version_buckets[1].push_back(version);
+ version_buckets[0].push_back(version);
} else if (version <= QUIC_VERSION_33) {
// Versions: 33
// v33 adds a diversification nonce into the hkdf.
- version_buckets[2].push_back(version);
+ version_buckets[1].push_back(version);
} else {
// Versions: 34+
// QUIC_VERSION_34 deprecates entropy and uses new ack and stop waiting
// wire formats.
- version_buckets[3].push_back(version);
+ version_buckets[2].push_back(version);
}
}
« no previous file with comments | « net/quic/core/quic_protocol_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698