| Index: net/quic/crypto/null_encrypter.cc
|
| diff --git a/net/quic/crypto/null_encrypter.cc b/net/quic/crypto/null_encrypter.cc
|
| index 22370baea3aeffb065193c69caebc45f050f603b..d8bb6df014b32eff3af9758ee878503095c5292c 100644
|
| --- a/net/quic/crypto/null_encrypter.cc
|
| +++ b/net/quic/crypto/null_encrypter.cc
|
| @@ -29,7 +29,7 @@ bool NullEncrypter::Encrypt(
|
| string buffer = associated_data.as_string();
|
| plaintext.AppendToString(&buffer);
|
| uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length());
|
| - memcpy(output, &hash, sizeof(hash));
|
| + QuicUtils::SerializeUint128(hash, output);
|
| memcpy(output + sizeof(hash), plaintext.data(), plaintext.size());
|
| return true;
|
| }
|
|
|