summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_channel_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-11-18 17:25:25 +0000
committerHugo Landau <hlandau@openssl.org>2023-01-13 13:20:17 +0000
commit4e64437a5fdf5c8ff1b5c2cede6c358a19a28e85 (patch)
tree2a683c9bfde7f00694179b98433aaa1869e295b4 /ssl/quic/quic_channel_local.h
parentd7668ff21328c03f137d665b37f228e7c1f7a32a (diff)
QUIC_CHANNEL: Handle deferred packet processing after yielding of secrets correctly
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'ssl/quic/quic_channel_local.h')
-rw-r--r--ssl/quic/quic_channel_local.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/quic/quic_channel_local.h b/ssl/quic/quic_channel_local.h
index 5859c0391a..88e49d588c 100644
--- a/ssl/quic/quic_channel_local.h
+++ b/ssl/quic/quic_channel_local.h
@@ -263,6 +263,12 @@ struct quic_channel_st {
/* Are we in server mode? Never changes after instantiation. */
unsigned int is_server : 1;
+
+ /*
+ * Set temporarily when the handshake layer has given us a new secret. Used
+ * to determine if we need to check our RX queues again.
+ */
+ unsigned int have_new_secret : 1;
};
# endif