[openssl] openssl-3.0 update

tomas at openssl.org tomas at openssl.org
Tue Sep 14 12:52:40 UTC 2021


The branch openssl-3.0 has been updated
       via  ad0697696cc3d9f4a588a3b2d48d898619dbe228 (commit)
      from  566431716efab52b40cc3af6610ba831d5c1cccc (commit)


- Log -----------------------------------------------------------------
commit ad0697696cc3d9f4a588a3b2d48d898619dbe228
Author: lprimak <lenny at flowlogix.com>
Date:   Sun Sep 12 20:21:30 2021 -0500

    MacOS prior to 10.12 does not support random API correctly
    
    Fixes #16517
    
    Reviewed-by: Paul Dale <pauli at openssl.org>
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16591)

-----------------------------------------------------------------------

Summary of changes:
 include/crypto/rand.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/crypto/rand.h b/include/crypto/rand.h
index ac41a9f62b..fa3b5b2b93 100644
--- a/include/crypto/rand.h
+++ b/include/crypto/rand.h
@@ -24,7 +24,7 @@
 
 # if defined(__APPLE__) && !defined(OPENSSL_NO_APPLE_CRYPTO_RANDOM)
 #  include <Availability.h>
-#  if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000) || \
+#  if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200) || \
      (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 80000)
 #   define OPENSSL_APPLE_CRYPTO_RANDOM 1
 #   include <CommonCrypto/CommonCryptoError.h>


More information about the openssl-commits mailing list