]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix logic errors in torture_rw_high/low test
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 16 Sep 2025 15:18:33 +0000 (17:18 +0200)
committerNeil Horman <nhorman@openssl.org>
Wed, 17 Sep 2025 20:24:10 +0000 (16:24 -0400)
commit0087c0e23be7363df0625df953562e016f9d6489
treef8f3ffaa1040794022fab71bdbfcee4104d3a791
parent22eac4f3dcb353b987a24c1ef79c722d21078914
Fix logic errors in torture_rw_high/low test

"old" was never assigned anything and the first
assignment to "*iterations" in the loop was superfluous.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28574)

(cherry picked from commit a1f6bbf6b0eb5bd15569b225bb0bd443fa879c9c)
test/threadstest.c