mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
random disable arc4random_buf for glibc, merge mistake
This commit is contained in:
parent
dee39518a0
commit
2740920a39
@ -504,7 +504,7 @@ PHPAPI int php_random_bytes(void *bytes, size_t size, bool should_throw)
|
||||
return FAILURE;
|
||||
}
|
||||
#elif HAVE_DECL_ARC4RANDOM_BUF && ((defined(__OpenBSD__) && OpenBSD >= 201405) || (defined(__NetBSD__) && __NetBSD_Version__ >= 700000001 && __NetBSD_Version__ < 1000000000) || \
|
||||
defined(__APPLE__) || defined(__GLIBC__))
|
||||
defined(__APPLE__))
|
||||
/*
|
||||
* OpenBSD until there is a valid equivalent
|
||||
* or NetBSD before the 10.x release
|
||||
|
Loading…
Reference in New Issue
Block a user