Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Unified Diff: net/quic/core/crypto/null_decrypter.cc

Issue 2850573002: Landing Recent QUIC changes until 3:35 PM, Apr 26, 2017 UTC-4 (Closed)
Patch Set: Remove Disconnect from ~QuicTestClient Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/crypto/crypto_framer.cc ('k') | net/quic/core/quic_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/null_decrypter.cc
diff --git a/net/quic/core/crypto/null_decrypter.cc b/net/quic/core/crypto/null_decrypter.cc
index 5e0ea06f69c3b482ff3dc04715b6c8b52f6671ec..c42fd34e9cdaf206e498967e5496c04a88ffa83e 100644
--- a/net/quic/core/crypto/null_decrypter.cc
+++ b/net/quic/core/crypto/null_decrypter.cc
@@ -43,7 +43,8 @@ bool NullDecrypter::DecryptPacket(QuicVersion version,
char* output,
size_t* output_length,
size_t max_output_length) {
- QuicDataReader reader(ciphertext.data(), ciphertext.length(), perspective_);
+ QuicDataReader reader(ciphertext.data(), ciphertext.length(), perspective_,
+ HOST_BYTE_ORDER);
uint128 hash;
if (!ReadHash(&reader, &hash)) {
« no previous file with comments | « net/quic/core/crypto/crypto_framer.cc ('k') | net/quic/core/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698