mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'master' of github.com:php/php-src
* 'master' of github.com:php/php-src: Use 16 instead of 15 bytes of random data in ReflectionReference->getId (#7148) Fix test wrt. OPENSSL_CONF
This commit is contained in:
commit
ce41e22edc
@ -6,6 +6,8 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
|
||||
die('skip windows only test');
|
||||
}
|
||||
?>
|
||||
--ENV--
|
||||
OPENSSL_CONF=
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -6370,7 +6370,7 @@ ZEND_METHOD(ReflectionReference, getId)
|
||||
}
|
||||
|
||||
if (!REFLECTION_G(key_initialized)) {
|
||||
if (php_random_bytes_throw(&REFLECTION_G(key_initialized), 16) == FAILURE) {
|
||||
if (php_random_bytes_throw(&REFLECTION_G(key), 16) == FAILURE) {
|
||||
RETURN_THROWS();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user