summaryrefslogtreecommitdiffstats
path: root/providers/implementations/rands
diff options
context:
space:
mode:
authorDavid Bohman <debohman@gmail.com>2021-08-06 15:23:00 -0700
committerTomas Mraz <tomas@openssl.org>2021-08-11 09:29:39 +0200
commitad2fc0bed4a111a5ff6803ee2ed0fee98db9d2f2 (patch)
treec10e7debcb363e58a508d0c3a0cfe2b040f82cd8 /providers/implementations/rands
parent474294cb664c5ac5184b7fc1a3ef37214f1f2250 (diff)
MacOS: Add an include of <CommonCrypto/CommonCryptoError.h>
The include is added before <CommonCrypto/CommonRandom.h>, as required by older releases of the macOS developer tools. Fixes #16248 CLA: trivial Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16258)
Diffstat (limited to 'providers/implementations/rands')
-rw-r--r--providers/implementations/rands/seeding/rand_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c
index eab08a8150..5048383077 100644
--- a/providers/implementations/rands/seeding/rand_unix.c
+++ b/providers/implementations/rands/seeding/rand_unix.c
@@ -41,6 +41,7 @@
# include <sys/random.h>
#endif
#if defined(__APPLE__)
+# include <CommonCrypto/CommonCryptoError.h>
# include <CommonCrypto/CommonRandom.h>
#endif