diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-09-08 14:08:10 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-09-13 22:16:34 +0200 |
commit | e501e8b606a2398d9b860eb10344113e9d1d375b (patch) | |
tree | 2b1f48a8bdb88aeda3c001570638bf81cb45be11 /test/quic_multistream_test.c | |
parent | Fix test/quic_tserver_test.c for slow machines (diff) | |
download | openssl-e501e8b606a2398d9b860eb10344113e9d1d375b.tar.xz openssl-e501e8b606a2398d9b860eb10344113e9d1d375b.zip |
QUIC MULTISTREAM TEST: Correct trivial bug
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22039)
Diffstat (limited to 'test/quic_multistream_test.c')
-rw-r--r-- | test/quic_multistream_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index bc0ae12cdb..b401e78e32 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -4329,7 +4329,7 @@ static int script_61_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr, || !TEST_true(WPACKET_quic_write_vlint(&wpkt, /* stream ID */ h->inject_word1)) || !TEST_true(WPACKET_quic_write_vlint(&wpkt, 123)) - || (h->inject_word1 == OSSL_QUIC_FRAME_TYPE_RESET_STREAM + || (h->inject_word0 == OSSL_QUIC_FRAME_TYPE_RESET_STREAM && !TEST_true(WPACKET_quic_write_vlint(&wpkt, 0)))) /* final size */ goto err; |