aboutsummaryrefslogtreecommitdiffstats
path: root/include/internal/quic_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/internal/quic_types.h')
-rw-r--r--include/internal/quic_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/quic_types.h b/include/internal/quic_types.h
index bc7c51c49a..f3509da2fb 100644
--- a/include/internal/quic_types.h
+++ b/include/internal/quic_types.h
@@ -100,6 +100,10 @@ static ossl_unused ossl_inline int ossl_quic_conn_id_eq(const QUIC_CONN_ID *a,
# define QUIC_STATELESS_RESET_TOKEN_LEN 16
+typedef struct {
+ unsigned char token[QUIC_STATELESS_RESET_TOKEN_LEN];
+} QUIC_STATELESS_RESET_TOKEN;
+
/*
* An encoded preferred_addr transport parameter cannot be shorter or longer
* than these lengths in bytes.