No public description PiperOrigin-RevId: 923434698
diff --git a/quiche/quic/core/crypto/tls_connection.cc b/quiche/quic/core/crypto/tls_connection.cc index 13c4e72..07cc137 100644 --- a/quiche/quic/core/crypto/tls_connection.cc +++ b/quiche/quic/core/crypto/tls_connection.cc
@@ -113,10 +113,8 @@ ssl(), ssl_config_.signing_algorithm_prefs->data(), ssl_config_.signing_algorithm_prefs->size()); } - if (ssl_config_.disable_ticket_support.has_value()) { - if (*ssl_config_.disable_ticket_support) { - SSL_set_options(ssl(), SSL_OP_NO_TICKET); - } + if (ssl_config_.disable_ticket_support) { + SSL_set_options(ssl(), SSL_OP_NO_TICKET); } }
diff --git a/quiche/quic/core/quic_types.h b/quiche/quic/core/quic_types.h index f59ea0b..5fbf5bf 100644 --- a/quiche/quic/core/quic_types.h +++ b/quiche/quic/core/quic_types.h
@@ -870,9 +870,8 @@ struct QUICHE_EXPORT QuicSSLConfig { // Whether TLS early data should be enabled. If not set, default to enabled. std::optional<bool> early_data_enabled; - // Whether TLS session tickets are supported. If not set, default to - // supported. - std::optional<bool> disable_ticket_support; + // Whether TLS session tickets are disabled. Defaults to false (supported). + bool disable_ticket_support = false; // If set, used to configure the SSL object with // SSL_set_signing_algorithm_prefs. std::optional<QuicSignatureAlgorithmVector> signing_algorithm_prefs;