| Index: net/quic/crypto/quic_crypto_client_config.cc
|
| diff --git a/net/quic/crypto/quic_crypto_client_config.cc b/net/quic/crypto/quic_crypto_client_config.cc
|
| index 7c1bd61ea44e6d142fb6ccd87cbf8684da4620ed..3949e7f0a6d29c95dee9948098f8d715d6279592 100644
|
| --- a/net/quic/crypto/quic_crypto_client_config.cc
|
| +++ b/net/quic/crypto/quic_crypto_client_config.cc
|
| @@ -384,7 +384,7 @@ void QuicCryptoClientConfig::FillInchoateClientHello(
|
|
|
| QuicErrorCode QuicCryptoClientConfig::FillClientHello(
|
| const string& server_hostname,
|
| - QuicGuid guid,
|
| + QuicConnectionId connection_id,
|
| const QuicVersion preferred_version,
|
| const CachedState* cached,
|
| QuicWallTime now,
|
| @@ -507,7 +507,8 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello(
|
| const QuicData& client_hello_serialized = out->GetSerialized();
|
| hkdf_input.append(QuicCryptoConfig::kCETVLabel,
|
| strlen(QuicCryptoConfig::kCETVLabel) + 1);
|
| - hkdf_input.append(reinterpret_cast<char*>(&guid), sizeof(guid));
|
| + hkdf_input.append(reinterpret_cast<char*>(&connection_id),
|
| + sizeof(connection_id));
|
| hkdf_input.append(client_hello_serialized.data(),
|
| client_hello_serialized.length());
|
| hkdf_input.append(cached->server_config());
|
| @@ -548,8 +549,8 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello(
|
| }
|
|
|
| out_params->hkdf_input_suffix.clear();
|
| - out_params->hkdf_input_suffix.append(reinterpret_cast<char*>(&guid),
|
| - sizeof(guid));
|
| + out_params->hkdf_input_suffix.append(reinterpret_cast<char*>(&connection_id),
|
| + sizeof(connection_id));
|
| const QuicData& client_hello_serialized = out->GetSerialized();
|
| out_params->hkdf_input_suffix.append(client_hello_serialized.data(),
|
| client_hello_serialized.length());
|
| @@ -636,7 +637,7 @@ QuicErrorCode QuicCryptoClientConfig::ProcessRejection(
|
|
|
| QuicErrorCode QuicCryptoClientConfig::ProcessServerHello(
|
| const CryptoHandshakeMessage& server_hello,
|
| - QuicGuid guid,
|
| + QuicConnectionId connection_id,
|
| const QuicVersionVector& negotiated_versions,
|
| CachedState* cached,
|
| QuicCryptoNegotiatedParameters* out_params,
|
|
|