Add quic::ProofSource::TicketCrypter interface
The ProofSource::TicketCrypter interface will be used by
TlsServerHandshaker to encrypt and decrypt session tickets. This is needed
to support TLS session resumption and 0-RTT in QUIC.
gfe-relnote: add unused method to quic::ProofSource interface
PiperOrigin-RevId: 308132437
Change-Id: I1176369e1b3d286d299303aec07d46292fddf982
diff --git a/quic/test_tools/fake_proof_source.cc b/quic/test_tools/fake_proof_source.cc
index 0d85b5d..032560e 100644
--- a/quic/test_tools/fake_proof_source.cc
+++ b/quic/test_tools/fake_proof_source.cc
@@ -113,6 +113,10 @@
delegate_.get()));
}
+ProofSource::TicketCrypter* FakeProofSource::SessionTicketCrypter() {
+ return delegate_->SessionTicketCrypter();
+}
+
int FakeProofSource::NumPendingCallbacks() const {
return pending_ops_.size();
}