Index: net/quic/crypto/chacha20_poly1305_decrypter_test.cc |
diff --git a/net/quic/crypto/chacha20_poly1305_decrypter_test.cc b/net/quic/crypto/chacha20_poly1305_decrypter_test.cc |
index 585c1605eb0e0ba3c06116cc49c0199b389fc79a..5fac2d5b8b663ba9b544f802a54638c2aa543e71 100644 |
--- a/net/quic/crypto/chacha20_poly1305_decrypter_test.cc |
+++ b/net/quic/crypto/chacha20_poly1305_decrypter_test.cc |
@@ -82,11 +82,9 @@ QuicData* DecryptWithNonce(ChaCha20Poly1305Decrypter* decrypter, |
decrypter->SetNoncePrefix(nonce_prefix); |
memcpy(&packet_number, nonce.data() + nonce_prefix.size(), |
sizeof(packet_number)); |
- if (FLAGS_quic_include_path_id_in_iv) { |
- path_id = static_cast<QuicPathId>( |
- packet_number >> 8 * (sizeof(packet_number) - sizeof(path_id))); |
- packet_number &= UINT64_C(0x00FFFFFFFFFFFFFF); |
- } |
+ path_id = static_cast<QuicPathId>( |
+ packet_number >> 8 * (sizeof(packet_number) - sizeof(path_id))); |
+ packet_number &= UINT64_C(0x00FFFFFFFFFFFFFF); |
scoped_ptr<char[]> output(new char[ciphertext.length()]); |
size_t output_length = 0; |
const bool success = decrypter->DecryptPacket( |