summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-07-27 16:29:42 +0100
committerHugo Landau <hlandau@openssl.org>2023-08-10 18:19:51 +0100
commit410a90f598a77546b847ba28b4bd8559ac57ab31 (patch)
treeaa36485688c6ea87d70e629503771d198420de9e /test
parent8761efb2ccc96f81201af279ec66e8ceeee9c7a3 (diff)
QUIC TEST: Fix double close of FD (coverity)
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21565)
Diffstat (limited to 'test')
-rw-r--r--test/quic_multistream_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c
index eef32d4f58..9936351884 100644
--- a/test/quic_multistream_test.c
+++ b/test/quic_multistream_test.c
@@ -1513,6 +1513,7 @@ static int run_script_worker(struct helper *h, const struct script_op *script,
case OPK_C_CLOSE_SOCKET:
{
BIO_closesocket(h->c_fd);
+ h->c_fd = -1;
}
break;