summaryrefslogtreecommitdiff
path: root/test/quic_cfq_test.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-10-12 17:44:40 +0100
committerHugo Landau <hlandau@openssl.org>2022-11-07 18:18:34 +0000
commit6db5cb844852f8f13753caf26dea7750f701e4d9 (patch)
tree4dd847f22365ca6e7313739fd734849d7a1e6643 /test/quic_cfq_test.c
parent0ede517cfa73fd3566d2ecd32215b4b12dd1d3b5 (diff)
downloadopenssl-new-6db5cb844852f8f13753caf26dea7750f701e4d9.tar.gz
QUIC CFQ Fixes
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19206)
Diffstat (limited to 'test/quic_cfq_test.c')
-rw-r--r--test/quic_cfq_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/quic_cfq_test.c b/test/quic_cfq_test.c
index 76a1091fd2..dbc4eb4b7e 100644
--- a/test/quic_cfq_test.c
+++ b/test/quic_cfq_test.c
@@ -43,7 +43,7 @@ static const uint64_t ref_frame_type[] = {
OSSL_QUIC_FRAME_TYPE_NEW_CONN_ID,
OSSL_QUIC_FRAME_TYPE_NEW_CONN_ID,
OSSL_QUIC_FRAME_TYPE_NEW_CONN_ID,
- OSSL_QUIC_FRAME_TYPE_NEW_CONN_ID,
+ OSSL_QUIC_FRAME_TYPE_RETIRE_CONN_ID,
};
static const uint32_t expect[QUIC_PN_SPACE_NUM][11] = {
@@ -123,8 +123,8 @@ static int test_cfq(void)
QUIC_CFQ_STATE_NEW)
|| !TEST_uint_eq(ossl_quic_cfq_item_get_pn_space(item),
ref_pn_space[i])
- || !TEST_uint_eq(ossl_quic_cfq_item_get_frame_type(item),
- ref_frame_type[i])
+ || !TEST_uint64_t_eq(ossl_quic_cfq_item_get_frame_type(item),
+ ref_frame_type[i])
|| !TEST_ptr_eq(ossl_quic_cfq_item_get_encoded(item),
ref_buf + i)
|| !TEST_size_t_eq(ossl_quic_cfq_item_get_encoded_len(item),