]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/testutil/main.c: move global_init before test_open_streams
authorEugene Syromiatnikov <esyr@openssl.org>
Wed, 30 Jul 2025 14:54:09 +0000 (16:54 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 8 Aug 2025 16:22:10 +0000 (12:22 -0400)
commit39029a1bb0cd10de986239c9fc58228c2501a5f4
treecb53bf53a76e36f7f4ca83a07b4a3a5e7fb8e6a9
parent78b10493a91934558bc135e1b7b2ac227340d875
test/testutil/main.c: move global_init before test_open_streams

So it is possible to change the allocator implementation,
as it must be before the first malloc call.

Suggested-by: Matt Caswell <matt@openssl.org>
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28059)
test/testutil/main.c