Skip to content

Commit

Permalink
Fix test_quic_write_read()
Browse files Browse the repository at this point in the history
Fix the "test 2" case of test_quic_write_read(). It is intended to be run
in blocking mode.

The result of a bad interaction between #21087 and #21332

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #21409)
  • Loading branch information
mattcaswell committed Jul 10, 2023
1 parent 1d32ec2 commit ff9728c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/quicapitest.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int test_quic_write_read(int idx)

if (!TEST_ptr(cctx)
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, cert, privkey,
idx == 1 ? QTEST_FLAG_BLOCK : 0,
idx >= 1 ? QTEST_FLAG_BLOCK : 0,
&qtserv, &clientquic, NULL))
|| !TEST_true(SSL_set_tlsext_host_name(clientquic, "localhost"))
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
Expand Down

0 comments on commit ff9728c

Please sign in to comment.