Index: net/quic/quic_connection_test.cc |
diff --git a/net/quic/quic_connection_test.cc b/net/quic/quic_connection_test.cc |
index 7622f04afd32d663189bc2d66d387d8699a3f44b..091dc9ec86df1633ed9a77efbb0ea3c93a1e5618 100644 |
--- a/net/quic/quic_connection_test.cc |
+++ b/net/quic/quic_connection_test.cc |
@@ -144,22 +144,6 @@ class TaggingDecrypter : public QuicDecrypter { |
bool SetNoncePrefix(StringPiece nonce_prefix) override { return true; } |
- bool Decrypt(StringPiece nonce, |
- StringPiece associated_data, |
- StringPiece ciphertext, |
- unsigned char* output, |
- size_t* output_length) override { |
- if (ciphertext.size() < kTagSize) { |
- return false; |
- } |
- if (!CheckTag(ciphertext, GetTag(ciphertext))) { |
- return false; |
- } |
- *output_length = ciphertext.size() - kTagSize; |
- memcpy(output, ciphertext.data(), *output_length); |
- return true; |
- } |
- |
QuicData* DecryptPacket(QuicPacketSequenceNumber sequence_number, |
StringPiece associated_data, |
StringPiece ciphertext) override { |