From a6e928d8c66fbfe0ab4b2e33284d5f839d6b98b1 Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Fri, 14 Mar 2025 20:12:18 +0100 Subject: security/openssl35: Add new OpenSSL version with PQC * This is ALPHA level software, for testing only * Adds Post-Quantum Crypto algorithms --- security/openssl35/files/patch-crypto_threads__pthread.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 security/openssl35/files/patch-crypto_threads__pthread.c (limited to 'security/openssl35/files/patch-crypto_threads__pthread.c') diff --git a/security/openssl35/files/patch-crypto_threads__pthread.c b/security/openssl35/files/patch-crypto_threads__pthread.c new file mode 100644 index 000000000000..3347170e0bd0 --- /dev/null +++ b/security/openssl35/files/patch-crypto_threads__pthread.c @@ -0,0 +1,13 @@ +--- crypto/threads_pthread.c.orig 2022-11-01 14:14:36 UTC ++++ crypto/threads_pthread.c +@@ -29,6 +29,10 @@ + #define BROKEN_CLANG_ATOMICS + #endif + ++#if defined(__FreeBSD__) && defined(__i386__) ++#define BROKEN_CLANG_ATOMICS ++#endif ++ + #if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && !defined(OPENSSL_SYS_WINDOWS) + + # if defined(OPENSSL_SYS_UNIX) -- cgit v1.2.3