summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_channel_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-05-23 12:23:06 +0100
committerPauli <pauli@openssl.org>2023-06-16 09:26:28 +1000
commit16f3b542f89dbdd6029400c740a55d49d4af8e53 (patch)
tree2f1f53ad1742e5b308321d3b085c9af73cee99ee /ssl/quic/quic_channel_local.h
parent48120ea5e3648a581ec8011594641178d85b17c4 (diff)
QUIC: Add internal APIs for white-box testing of key update
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21029)
Diffstat (limited to 'ssl/quic/quic_channel_local.h')
-rw-r--r--ssl/quic/quic_channel_local.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/quic/quic_channel_local.h b/ssl/quic/quic_channel_local.h
index 607f109119..f2c84c450c 100644
--- a/ssl/quic/quic_channel_local.h
+++ b/ssl/quic/quic_channel_local.h
@@ -193,6 +193,14 @@ struct quic_channel_st {
*/
uint64_t incoming_stream_auto_reject_aec;
+ /*
+ * Override packet count threshold at which we do a spontaneous TXKU.
+ * Usually UINT64_MAX in which case a suitable value is chosen based on AEAD
+ * limit advice from the QRL utility functions. This is intended for testing
+ * use only. Usually set to UINT64_MAX.
+ */
+ uint64_t txku_threshold_override;
+
/* Valid if we are in the TERMINATING or TERMINATED states. */
QUIC_TERMINATE_CAUSE terminate_cause;