Changeset 91833 in vbox
- Timestamp:
- Oct 18, 2021 5:47:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-1.1.1l/crypto/rand/rand_unix.c
r91831 r91833 35 35 # include <sys/param.h> 36 36 #endif 37 #if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 1010037 #if defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10100 38 38 # include <CommonCrypto/CommonRandom.h> 39 39 #endif … … 382 382 return -1; 383 383 } 384 # elif defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 10100384 # elif defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 10100 385 385 if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess) 386 386 return (ssize_t)buflen;
Note:
See TracChangeset
for help on using the changeset viewer.