diff options
author | David Bohman <debohman@gmail.com> | 2021-08-06 15:23:00 -0700 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-08-11 09:29:39 +0200 |
commit | ad2fc0bed4a111a5ff6803ee2ed0fee98db9d2f2 (patch) | |
tree | c10e7debcb363e58a508d0c3a0cfe2b040f82cd8 | |
parent | 474294cb664c5ac5184b7fc1a3ef37214f1f2250 (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)
-rw-r--r-- | providers/implementations/rands/seeding/rand_unix.c | 1 |
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 |