summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorČestmír Kalina <ckalina@redhat.com>2023-03-17 17:32:26 +0100
committerPauli <pauli@openssl.org>2023-03-21 19:04:23 +1100
commit41c3c71382f31a5a913bd09a74295d101d837055 (patch)
treeec48fa08aed78463205cca0efc96c77de477554f /crypto
parentfdfa63dfd6f1e6d7aff175fba56486a0cf79713f (diff)
thread: remove remnants of ossl_crypto_mem_barrier
Commit ac21c1780a63a8d9a3a6217eb52fe0d188fa7655 VMS knows POSIX threads too! removed ossl_crypto_mem_barrier for POSIX systems. Remove it for Win32 and other architectures as well. Resolves issue #19506 Unable to build under bcc32c environment (Embarcadero clang compiler). Signed-off-by: Čestmír Kalina <ckalina@redhat.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20538)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/thread/arch/thread_none.c4
-rw-r--r--crypto/thread/arch/thread_win.c5
2 files changed, 0 insertions, 9 deletions
diff --git a/crypto/thread/arch/thread_none.c b/crypto/thread/arch/thread_none.c
index 431a9b6a35..c9c047c8e7 100644
--- a/crypto/thread/arch/thread_none.c
+++ b/crypto/thread/arch/thread_none.c
@@ -70,8 +70,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
{
}
-void ossl_crypto_mem_barrier(void)
-{
-}
-
#endif
diff --git a/crypto/thread/arch/thread_win.c b/crypto/thread/arch/thread_win.c
index b4c0500936..5bef48458e 100644
--- a/crypto/thread/arch/thread_win.c
+++ b/crypto/thread/arch/thread_win.c
@@ -179,9 +179,4 @@ void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
*cv_p = NULL;
}
-void ossl_crypto_mem_barrier(void)
-{
- MemoryBarrier();
-}
-
#endif