Skip to content

Commit

Permalink
MacOS: Add an include of <CommonCrypto/CommonCryptoError.h>
Browse files Browse the repository at this point in the history
The include is added before <CommonCrypto/CommonRandom.h>,
as required by older releases of the macOS developer tools.

Fixes openssl#16248

CLA: trivial

Reviewed-by: Shane Lontis <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#16258)
  • Loading branch information
debohman authored and t8m committed Aug 11, 2021
1 parent 474294c commit ad2fc0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/implementations/rands/seeding/rand_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
# include <sys/random.h>
#endif
#if defined(__APPLE__)
# include <CommonCrypto/CommonCryptoError.h>
# include <CommonCrypto/CommonRandom.h>
#endif

Expand Down

0 comments on commit ad2fc0b

Please sign in to comment.