]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix support for windows atomics
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 21 Feb 2025 23:01:59 +0000 (00:01 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 Mar 2025 15:02:47 +0000 (16:02 +0100)
commitbcb8eae1afe243a7c514b988289b06b838764fb6
tree62469f19f1b034af20e7aea146fbcc9d8beffa6e
parentb48145cd189734de287afae79a0723361a05ddca
Fix support for windows atomics

Make CRYPTO_atomic_add consistent with
CRYPTO_atomic_load_int and set the
reader_idx under write_lock since there
is no CRYPTO_atomic_store_int.

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