VirtualBox

Changeset 91833 in vbox


Ignore:
Timestamp:
Oct 18, 2021 5:47:04 PM (3 years ago)
Author:
vboxsync
Message:

openssl-1.1.1l: Experiment with (hopefully upstreamable) alternative way to check SDK function availability. bugref:10126

File:
1 edited

Legend:

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

    r91831 r91833  
    3535# include <sys/param.h>
    3636#endif
    37 #if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
     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__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 10100
     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.

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