aboutsummaryrefslogtreecommitdiffstats
path: root/test/testutil
diff options
context:
space:
mode:
authorGAlvare <[email protected]>2025-05-02 18:57:22 +0200
committerTomas Mraz <[email protected]>2025-08-08 13:56:02 +0200
commit7eee9d543e467c4767ebbbd12517fe5c9565202a (patch)
treeb9c9b392283c84ac21c7fee5ba1aa430c3ff72a1 /test/testutil
parentskey: include extra error header file (diff)
downloadopenssl-7eee9d543e467c4767ebbbd12517fe5c9565202a.tar.gz
openssl-7eee9d543e467c4767ebbbd12517fe5c9565202a.zip
Fixes for build failures on OS X 10.4 Tiger
Also added darwin8-ppc-cc and darwin8-ppc64-cc build configurations for handling OS X 10.4 PowerPC specific configuration options, specifically disabling async by default. Reviewed-by: Neil Horman <[email protected]> Reviewed-by: Bernd Edlinger <[email protected]> Reviewed-by: Paul Dale <[email protected]> (Merged from https://github.com/openssl/openssl/pull/27578)
Diffstat (limited to 'test/testutil')
-rw-r--r--test/testutil/helper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testutil/helper.c b/test/testutil/helper.c
index 9c985e25a8b..6a1da5c9bac 100644
--- a/test/testutil/helper.c
+++ b/test/testutil/helper.c
@@ -19,7 +19,9 @@
# define timezone _timezone
#endif
-#if defined(__FreeBSD__) || defined(__wasi__)
+#if defined(__FreeBSD__) || defined(__wasi__) || \
+ (defined(__APPLE__) && !defined(OPENSSL_NO_APPLE_CRYPTO_RANDOM) && \
+ !(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1050))
# define USE_TIMEGM
#endif