| Index: net/quic/crypto/null_decrypter.cc
|
| diff --git a/net/quic/crypto/null_decrypter.cc b/net/quic/crypto/null_decrypter.cc
|
| index c58e7b07c0b2ccac87cc1bb9394d7f8ebbac7e31..329a9a28cc04bf9aba4e87e7ee8abd64ceadd2fe 100644
|
| --- a/net/quic/crypto/null_decrypter.cc
|
| +++ b/net/quic/crypto/null_decrypter.cc
|
| @@ -11,9 +11,12 @@ using std::string;
|
|
|
| namespace net {
|
|
|
| -NullDecrypter::NullDecrypter() {}
|
| +NullDecrypter::NullDecrypter() {
|
| +}
|
|
|
| -bool NullDecrypter::SetKey(StringPiece key) { return key.empty(); }
|
| +bool NullDecrypter::SetKey(StringPiece key) {
|
| + return key.empty();
|
| +}
|
|
|
| bool NullDecrypter::SetNoncePrefix(StringPiece nonce_prefix) {
|
| return nonce_prefix.empty();
|
| @@ -68,15 +71,18 @@ QuicData* NullDecrypter::DecryptPacket(QuicPacketSequenceNumber /*seq_number*/,
|
| return new QuicData(plaintext.data(), plaintext.length());
|
| }
|
|
|
| -StringPiece NullDecrypter::GetKey() const { return StringPiece(); }
|
| +StringPiece NullDecrypter::GetKey() const {
|
| + return StringPiece();
|
| +}
|
|
|
| -StringPiece NullDecrypter::GetNoncePrefix() const { return StringPiece(); }
|
| +StringPiece NullDecrypter::GetNoncePrefix() const {
|
| + return StringPiece();
|
| +}
|
|
|
| bool NullDecrypter::ReadHash(QuicDataReader* reader, uint128* hash) {
|
| uint64 lo;
|
| uint32 hi;
|
| - if (!reader->ReadUInt64(&lo) ||
|
| - !reader->ReadUInt32(&hi)) {
|
| + if (!reader->ReadUInt64(&lo) || !reader->ReadUInt32(&hi)) {
|
| return false;
|
| }
|
| *hash = hi;
|
|
|