mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Reverted the patch to main branch - should have branched whole
ext/standard...
This commit is contained in:
parent
43c2bc364f
commit
3e62bd0867
1 changed files with 1 additions and 2 deletions
|
@ -106,8 +106,7 @@ PHP_MINIT_FUNCTION(crypt)
|
|||
PHP_RINIT_FUNCTION(crypt)
|
||||
{
|
||||
if(!php_crypt_rand_seeded) {
|
||||
/* FIXME (jeroen): temporary fix for RAND_REDESIGN */
|
||||
php_srand_sys(time(0) * getpid() * (php_combined_lcg(TSRMLS_C) * 10000.0));
|
||||
php_srand(time(0) * getpid() * (php_combined_lcg(TSRMLS_C) * 10000.0));
|
||||
php_crypt_rand_seeded=1;
|
||||
}
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue