From fed4a5a139a0b9756432fe76711109900bf6d071 Mon Sep 17 00:00:00 2001 From: Gavin Stewart Date: Mon, 29 Jul 2024 21:33:28 +1000 Subject: [PATCH] Fix multiple definition error for OPENSSL_ia32cap_P at link time --- Source/Crypto/BEOpenSSLAES.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Crypto/BEOpenSSLAES.cpp b/Source/Crypto/BEOpenSSLAES.cpp index 27fc3c4df..02edb6d8f 100644 --- a/Source/Crypto/BEOpenSSLAES.cpp +++ b/Source/Crypto/BEOpenSSLAES.cpp @@ -29,7 +29,9 @@ using namespace std; https://boringssl.googlesource.com/boringssl/+/517073cd4b/crypto/cpu-intel.c#76 */ -uint32_t OPENSSL_ia32cap_P[4] = { 0 }; +// 2024-07-29 - GAV +// This is now causing a multiple definition error on linking +//uint32_t OPENSSL_ia32cap_P[4] = { 0 }; const vector HexOrContainer ( const fmx::DataVect& parameters, const fmx::uint32 which ) {