| Index: trunk/src/net/quic/crypto/null_encrypter.cc
|
| ===================================================================
|
| --- trunk/src/net/quic/crypto/null_encrypter.cc (revision 198763)
|
| +++ trunk/src/net/quic/crypto/null_encrypter.cc (working copy)
|
| @@ -29,7 +29,7 @@
|
| string buffer = associated_data.as_string();
|
| plaintext.AppendToString(&buffer);
|
| uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length());
|
| - QuicUtils::SerializeUint128(hash, output);
|
| + memcpy(output, &hash, sizeof(hash));
|
| memcpy(output + sizeof(hash), plaintext.data(), plaintext.size());
|
| return true;
|
| }
|
|
|