VirtualBox

Changeset 91831 in vbox


Ignore:
Timestamp:
Oct 18, 2021 4:55:57 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147624
Message:

openssl-1.1.1l: Check for SDK function availability. bugref:10126

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-1.1.1l/crypto/rand/rand_unix.c

    r91772 r91831  
    3535# include <sys/param.h>
    3636#endif
    37 #if defined(__APPLE__)
     37#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
    3838# include <CommonCrypto/CommonRandom.h>
    3939#endif
     
    382382            return -1;
    383383    }
    384 #  elif defined(__APPLE__)
     384#  elif defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
    385385    if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)
    386386            return (ssize_t)buflen;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette