diff options
author | Matt Caswell <matt@openssl.org> | 2023-05-05 16:51:43 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-24 12:18:33 +0100 |
commit | e8528c95a0543a218b432d2ea02e6bd0c1e7ab19 (patch) | |
tree | 9c71c34078cf44e9534a03889330014081f61927 /test | |
parent | 45454cccf8172b5a2d7c1342067a1d8dc8396fc9 (diff) |
Enable tracing of packets that have been sent
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')
-rw-r--r-- | test/helpers/quictestlib.c | 2 | ||||
-rw-r--r-- | test/quic_record_test.c | 2 | ||||
-rw-r--r-- | test/quic_wire_test.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/helpers/quictestlib.c b/test/helpers/quictestlib.c index c973a8cc65..c33518805d 100644 --- a/test/helpers/quictestlib.c +++ b/test/helpers/quictestlib.c @@ -737,7 +737,7 @@ static int pcipher_sendmmsg(BIO *b, BIO_MSG *msg, size_t stride, do { if (!ossl_quic_wire_decode_pkt_hdr(&pkt, 0 /* TODO(QUIC): Not sure how this should be set*/, 1, - &hdr, NULL)) + 0, &hdr, NULL)) goto out; /* diff --git a/test/quic_record_test.c b/test/quic_record_test.c index 1dc0eec5e5..088e730af1 100644 --- a/test/quic_record_test.c +++ b/test/quic_record_test.c @@ -2522,7 +2522,7 @@ static int test_wire_pkt_hdr_actual(int tidx, int repeat, int cipher, goto err; if (!TEST_int_eq(ossl_quic_wire_decode_pkt_hdr(&pkt, t->short_conn_id_len, - 0, &hdr, &ptrs), + 0, 0, &hdr, &ptrs), !expect_fail)) goto err; diff --git a/test/quic_wire_test.c b/test/quic_wire_test.c index d6eef296a3..04e287fbf7 100644 --- a/test/quic_wire_test.c +++ b/test/quic_wire_test.c @@ -1513,7 +1513,7 @@ static int test_wire_retry_integrity_tag(void) if (!TEST_true(PACKET_buf_init(&pkt, retry_encoded, sizeof(retry_encoded)))) goto err; - if (!TEST_true(ossl_quic_wire_decode_pkt_hdr(&pkt, 0, 0, &hdr, NULL))) + if (!TEST_true(ossl_quic_wire_decode_pkt_hdr(&pkt, 0, 0, 0, &hdr, NULL))) goto err; if (!TEST_int_eq(hdr.type, QUIC_PKT_TYPE_RETRY)) |