]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
MacOS: Add an include of <CommonCrypto/CommonCryptoError.h>
authorDavid Bohman <debohman@gmail.com>
Fri, 6 Aug 2021 22:23:00 +0000 (15:23 -0700)
committerTomas Mraz <tomas@openssl.org>
Wed, 11 Aug 2021 07:29:39 +0000 (09:29 +0200)
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)

providers/implementations/rands/seeding/rand_unix.c

index eab08a815033cdae951898d02303af50f3a4d46d..50483830775e540e3ef55ca9979e6e9cd5474cfb 100644 (file)
@@ -41,6 +41,7 @@
 # include <sys/random.h>
 #endif
 #if defined(__APPLE__)
+# include <CommonCrypto/CommonCryptoError.h>
 # include <CommonCrypto/CommonRandom.h>
 #endif