In TlsClientHandshaker, only insert data into cache if all required states are present.
ApplicationState is now optional to TlsClientHandshaker because not all applications have it.
gfe-relnote: unused code. not protected.
PiperOrigin-RevId: 307719344
Change-Id: Ib4e359c6a13c9b7b805dca7a1cfd3b1bf89af6ef
diff --git a/quic/core/tls_handshaker_test.cc b/quic/core/tls_handshaker_test.cc
index 6103743..f774e28 100644
--- a/quic/core/tls_handshaker_test.cc
+++ b/quic/core/tls_handshaker_test.cc
@@ -250,7 +250,8 @@
session,
crypto_test_utils::ProofVerifyContextForTesting(),
&crypto_config_,
- &proof_handler_)) {}
+ &proof_handler_,
+ /*has_application_state = */ false)) {}
~TestQuicCryptoClientStream() override = default;