gfe-relnote: Change to draft-23 for the IETF QUIC identifier and salts. Protected by disabled QUIC v99 flag. PiperOrigin-RevId: 269130248 Change-Id: Ia0a9f6426adbfb1e5b6a526caeb2ab047df0b88b
diff --git a/quic/core/crypto/crypto_utils.cc b/quic/core/crypto/crypto_utils.cc index 24664e9..2889098 100644 --- a/quic/core/crypto/crypto_utils.cc +++ b/quic/core/crypto/crypto_utils.cc
@@ -90,11 +90,11 @@ namespace { -static_assert(kQuicIetfDraftVersion == 22, "Salts do not match draft version"); -// Salt from https://tools.ietf.org/html/draft-ietf-quic-tls-22#section-5.2 -const uint8_t kInitialSalt[] = {0x7f, 0xbc, 0xdb, 0x0e, 0x7c, 0x66, 0xbb, - 0xe9, 0x19, 0x3a, 0x96, 0xcd, 0x21, 0x51, - 0x9e, 0xbd, 0x7a, 0x02, 0x64, 0x4a}; +static_assert(kQuicIetfDraftVersion == 23, "Salts do not match draft version"); +// Salt from https://tools.ietf.org/html/draft-ietf-quic-tls-24#section-5.2 +const uint8_t kInitialSalt[] = {0xc3, 0xee, 0xf7, 0x12, 0xc7, 0x2e, 0xbb, + 0x5a, 0x11, 0xa7, 0xd2, 0x43, 0x2b, 0xb4, + 0x63, 0x65, 0xbe, 0xf9, 0xf5, 0x02}; const char kPreSharedKeyLabel[] = "QUIC PSK";
diff --git a/quic/core/quic_versions.h b/quic/core/quic_versions.h index ba160a6..98ffc2c 100644 --- a/quic/core/quic_versions.h +++ b/quic/core/quic_versions.h
@@ -117,7 +117,7 @@ }; // IETF draft version most closely approximated by TLS + v99. -static const int kQuicIetfDraftVersion = 22; +static const int kQuicIetfDraftVersion = 23; // The crypto handshake protocols that can be used with QUIC. enum HandshakeProtocol {
diff --git a/quic/core/quic_versions_test.cc b/quic/core/quic_versions_test.cc index 519d345..d1b5032 100644 --- a/quic/core/quic_versions_test.cc +++ b/quic/core/quic_versions_test.cc
@@ -469,7 +469,7 @@ EXPECT_EQ("h3-T047", AlpnForVersion(parsed_version_t047)); EXPECT_EQ("h3-Q048", AlpnForVersion(parsed_version_q048)); EXPECT_EQ("h3-T048", AlpnForVersion(parsed_version_t048)); - EXPECT_EQ("h3-22", AlpnForVersion(parsed_version_t099)); + EXPECT_EQ("h3-23", AlpnForVersion(parsed_version_t099)); } TEST_F(QuicVersionsTest, QuicEnableVersion) {