]> 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:03:04 +0000 (16:03 +0100)
commite0db3e4bef954d4690018806b415228e141c0ca8
tree4b4e510e4f62b636f945135fd7564a2aded92784
parente576eda6d170ca1d6c2a6e91d2abc0d0a875c663
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)

(cherry picked from commit bcb8eae1afe243a7c514b988289b06b838764fb6)
crypto/threads_win.c