aboutsummaryrefslogtreecommitdiff
path: root/test/quic_wire_test.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-05-08 13:51:39 +0100
committerMatt Caswell <matt@openssl.org>2023-05-24 12:18:33 +0100
commitb09e246aba584cd17d1d027f735f238b1b7f082c (patch)
tree784dda0c9719e08e10f2d56e1856f6f0e6076228 /test/quic_wire_test.c
parent8aff8f89f7bec3865b14b550a4c1a7ec7786e3f3 (diff)
downloadopenssl-b09e246aba584cd17d1d027f735f238b1b7f082c.zip
openssl-b09e246aba584cd17d1d027f735f238b1b7f082c.tar.gz
openssl-b09e246aba584cd17d1d027f735f238b1b7f082c.tar.bz2
Properly handling stream/crypto frames while tracing
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20914)
Diffstat (limited to 'test/quic_wire_test.c')
-rw-r--r--test/quic_wire_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/quic_wire_test.c b/test/quic_wire_test.c
index 04e287f..e3cd218 100644
--- a/test/quic_wire_test.c
+++ b/test/quic_wire_test.c
@@ -261,7 +261,7 @@ static int encode_case_6_dec(PACKET *pkt, ossl_ssize_t fail)
{
OSSL_QUIC_FRAME_CRYPTO f = {0};
- if (!TEST_int_eq(ossl_quic_wire_decode_frame_crypto(pkt, &f), fail < 0))
+ if (!TEST_int_eq(ossl_quic_wire_decode_frame_crypto(pkt, 0, &f), fail < 0))
return 0;
if (fail >= 0)
@@ -358,7 +358,7 @@ static int encode_case_8_dec(PACKET *pkt, ossl_ssize_t fail)
*/
return 1;
- if (!TEST_int_eq(ossl_quic_wire_decode_frame_stream(pkt, &f), fail < 0))
+ if (!TEST_int_eq(ossl_quic_wire_decode_frame_stream(pkt, 0, &f), fail < 0))
return 0;
if (fail >= 0)
@@ -413,7 +413,7 @@ static int encode_case_9_dec(PACKET *pkt, ossl_ssize_t fail)
{
OSSL_QUIC_FRAME_STREAM f = {0};
- if (!TEST_int_eq(ossl_quic_wire_decode_frame_stream(pkt, &f), fail < 0))
+ if (!TEST_int_eq(ossl_quic_wire_decode_frame_stream(pkt, 0, &f), fail < 0))
return 0;
if (fail >= 0)