| Index: net/quic/crypto/crypto_utils.cc
|
| diff --git a/net/quic/crypto/crypto_utils.cc b/net/quic/crypto/crypto_utils.cc
|
| index 2943396048946bc948bf7c15cbc58e8d199a19ab..27a98e66ed5073d2be2deb8dbf4e5f62cfd62c73 100644
|
| --- a/net/quic/crypto/crypto_utils.cc
|
| +++ b/net/quic/crypto/crypto_utils.cc
|
| @@ -54,8 +54,8 @@ bool CryptoUtils::IsValidSNI(StringPiece sni) {
|
| url::CanonHostInfo host_info;
|
| string canonicalized_host(CanonicalizeHost(sni.as_string(), &host_info));
|
| return !host_info.IsIPAddress() &&
|
| - IsCanonicalizedHostCompliant(canonicalized_host, std::string()) &&
|
| - sni.find_last_of('.') != string::npos;
|
| + IsCanonicalizedHostCompliant(canonicalized_host, std::string()) &&
|
| + sni.find_last_of('.') != string::npos;
|
| }
|
|
|
| // static
|
| @@ -96,8 +96,8 @@ bool CryptoUtils::DeriveKeys(StringPiece premaster_secret,
|
| nonce = nonce_storage;
|
| }
|
|
|
| - crypto::HKDF hkdf(premaster_secret, nonce, hkdf_input, key_bytes,
|
| - nonce_prefix_bytes);
|
| + crypto::HKDF hkdf(
|
| + premaster_secret, nonce, hkdf_input, key_bytes, nonce_prefix_bytes);
|
| if (perspective == SERVER) {
|
| if (!out->encrypter->SetKey(hkdf.server_write_key()) ||
|
| !out->encrypter->SetNoncePrefix(hkdf.server_write_iv()) ||
|
|
|