| Index: net/quic/core/crypto/quic_crypto_client_config.cc
|
| diff --git a/net/quic/core/crypto/quic_crypto_client_config.cc b/net/quic/core/crypto/quic_crypto_client_config.cc
|
| index f9899fc6ef51a61e440e14f4ef2918563fec453f..81328b0d23ce76e9978c2c7bd24c56378e205fde 100644
|
| --- a/net/quic/core/crypto/quic_crypto_client_config.cc
|
| +++ b/net/quic/core/crypto/quic_crypto_client_config.cc
|
| @@ -534,12 +534,10 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello(
|
| // client's preference.
|
| size_t key_exchange_index;
|
| if (!QuicUtils::FindMutualTag(aead, their_aeads, num_their_aeads,
|
| - QuicUtils::LOCAL_PRIORITY, &out_params->aead,
|
| - nullptr) ||
|
| + &out_params->aead, nullptr) ||
|
| !QuicUtils::FindMutualTag(
|
| kexs, their_key_exchanges, num_their_key_exchanges,
|
| - QuicUtils::LOCAL_PRIORITY, &out_params->key_exchange,
|
| - &key_exchange_index)) {
|
| + &out_params->key_exchange, &key_exchange_index)) {
|
| *error_details = "Unsupported AEAD or KEXS";
|
| return QUIC_CRYPTO_NO_SUPPORT;
|
| }
|
| @@ -554,10 +552,9 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello(
|
| case QUIC_CRYPTO_MESSAGE_PARAMETER_NOT_FOUND:
|
| break;
|
| case QUIC_NO_ERROR:
|
| - if (QuicUtils::FindMutualTag(tb_key_params, their_tbkps,
|
| - num_their_tbkps, QuicUtils::LOCAL_PRIORITY,
|
| - &out_params->token_binding_key_param,
|
| - nullptr)) {
|
| + if (QuicUtils::FindMutualTag(
|
| + tb_key_params, their_tbkps, num_their_tbkps,
|
| + &out_params->token_binding_key_param, nullptr)) {
|
| out->SetVector(kTBKP,
|
| QuicTagVector{out_params->token_binding_key_param});
|
| }
|
|
|