| Index: net/quic/quic_connection_test.cc
|
| diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc
|
| index 078304b952439e8321104d9dff19d9c5fedf38aa..21f97800a2f17ecdfabe62fca55f77123b9aab97 100644
|
| --- a/net/quic/quic_connection_test.cc
|
| +++ b/net/quic/quic_connection_test.cc
|
| @@ -94,6 +94,7 @@ class TaggingEncrypter : public QuicEncrypter {
|
| if (max_output_length < len) {
|
| return false;
|
| }
|
| + // Memmove is safe for inplace encryption.
|
| memmove(output, plaintext.data(), plaintext.size());
|
| output += plaintext.size();
|
| memset(output, tag_, kTagSize);
|
|
|