Commit f903c6bce9 for openssl.org
commit f903c6bce9a287cda31b9da3f84182d7a8a794bd
Author: Tomas Mraz <tomas@openssl.foundation>
Date: Mon Sep 14 16:52:49 2026 +0200
quic_cfq_test.c: Use previously unused global variables
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Thu Sep 17 14:05:03 2026
Merged-from: https://github.com/openssl/openssl/pull/32821
diff --git a/test/quic_cfq_test.c b/test/quic_cfq_test.c
index b17e298962..746aa5fd94 100644
--- a/test/quic_cfq_test.c
+++ b/test/quic_cfq_test.c
@@ -167,6 +167,8 @@ static int test_cfq(void)
testresult = 1;
err:
ossl_quic_cfq_free(cfq);
+ if (testresult && (!TEST_ptr(g_free) || !TEST_size_t_ne(g_free_len, 0)))
+ testresult = 0;
return testresult;
}