The branch master has been updated
via ad2fc0bed4a111a5ff6803ee2ed0fee98db9d2f2 (commit)
from 474294cb664c5ac5184b7fc1a3ef37214f1f2250 (commit)
- Log -----------------------------------------------------------------
commit ad2fc0bed4a111a5ff6803ee2ed0fee98db9d2f2
Author: David Bohman <[email protected]>
Date: Fri Aug 6 15:23:00 2021 -0700
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 <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/16258)
-----------------------------------------------------------------------
Summary of changes:
providers/implementations/rands/seeding/rand_unix.c | 1 +
1 file changed, 1 insertion(+)
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