diff options
author | Neil Horman <nhorman@openssl.org> | 2024-06-17 20:12:46 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-06-20 16:56:39 +0200 |
commit | f7252d736da65ffa41cd81c6e0ec5ee58160eeb4 (patch) | |
tree | f5c4ceddffa8a8ee4cc9d93ce08fabbf77205d39 /test/threadstest.c | |
parent | Fix handling of max_fragment_length extension for PSK (diff) | |
download | openssl-f7252d736da65ffa41cd81c6e0ec5ee58160eeb4.tar.xz openssl-f7252d736da65ffa41cd81c6e0ec5ee58160eeb4.zip |
Some minor nit corrections in the thread code for rcu
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24630)
(cherry picked from commit d38d2642287ef9a22f20e662a19c217c227043a6)
Diffstat (limited to 'test/threadstest.c')
-rw-r--r-- | test/threadstest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/threadstest.c b/test/threadstest.c index 2d05255132..b2b1ec2555 100644 --- a/test/threadstest.c +++ b/test/threadstest.c @@ -436,7 +436,7 @@ static int _torture_rcu(void) rcu_torture_result = 1; rcu_lock = ossl_rcu_lock_new(1, NULL); - if (!rcu_lock) + if (rcu_lock == NULL) goto out; TEST_info("Staring rcu torture"); |