Improve handling of crypters in CompareClientAndServerKeys
gfe-relnote: n/a (test-only)
PiperOrigin-RevId: 240383505
Change-Id: Iedebac7d79c041d8a7c628043ffb37b3037bf08b
diff --git a/quic/test_tools/quic_framer_peer.cc b/quic/test_tools/quic_framer_peer.cc
index 68c7d0e..5f8068e 100644
--- a/quic/test_tools/quic_framer_peer.cc
+++ b/quic/test_tools/quic_framer_peer.cc
@@ -329,6 +329,12 @@
}
// static
+QuicDecrypter* QuicFramerPeer::GetDecrypter(QuicFramer* framer,
+ EncryptionLevel level) {
+ return framer->decrypter_[level].get();
+}
+
+// static
size_t QuicFramerPeer::ComputeFrameLength(
QuicFramer* framer,
const QuicFrame& frame,