gfe-relnote: In QUIC, rename handshake_confirmed in handshaker to one_rtt_keys_available to make it clearer and more informative. Renaming only, not protected.
Not rename it to handshake_complete, as in QUIC crypto server side, handshake complete is slightly different than one_rtt_keys_available.
PiperOrigin-RevId: 289682542
Change-Id: I87e1e4925f4916166afe2bac2a055a207de1025a
diff --git a/quic/core/tls_server_handshaker.cc b/quic/core/tls_server_handshaker.cc
index 87c146f..500cecf 100644
--- a/quic/core/tls_server_handshaker.cc
+++ b/quic/core/tls_server_handshaker.cc
@@ -128,8 +128,8 @@
return encryption_established_;
}
-bool TlsServerHandshaker::handshake_confirmed() const {
- return handshake_confirmed_;
+bool TlsServerHandshaker::one_rtt_keys_available() const {
+ return one_rtt_keys_available_;
}
const QuicCryptoNegotiatedParameters&
@@ -264,7 +264,7 @@
state_ = STATE_HANDSHAKE_COMPLETE;
encryption_established_ = true;
- handshake_confirmed_ = true;
+ one_rtt_keys_available_ = true;
// Fill crypto_negotiated_params_:
const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl());