diff options
author | Pauli <pauli@openssl.org> | 2022-08-17 08:34:50 +1000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-08-17 12:21:18 +0100 |
commit | 93e5c63ee7a7ef627d234558e850ff962e5dbc71 (patch) | |
tree | 6ccddec8415af41c3da686522bc9b67d3ae1e745 /crypto/property | |
parent | b89f113149b7bd5173f4100884aab354ad6da74d (diff) |
Avoid using tsan_add
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19009)
Diffstat (limited to 'crypto/property')
-rw-r--r-- | crypto/property/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/property/property.c b/crypto/property/property.c index 3469768ca6..2c92cb5e50 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -673,7 +673,7 @@ static void ossl_method_cache_flush_some(OSSL_METHOD_STORE *store) store->cache_nelem = state.nelem; /* Without a timer, update the global seed */ if (state.using_global_seed) - tsan_add(&global_seed, state.seed); + tsan_store(&global_seed, state.seed); } int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov, |