]> granicus.if.org Git - php/commitdiff
Reverted the patch to main branch - should have branched whole
authorJeroen van Wolffelaar <jeroen@php.net>
Wed, 22 Aug 2001 22:14:08 +0000 (22:14 +0000)
committerJeroen van Wolffelaar <jeroen@php.net>
Wed, 22 Aug 2001 22:14:08 +0000 (22:14 +0000)
ext/standard...

ext/standard/crypt.c

index 5489f01a758f5b9a2c26e6e0025ac32261649740..00490f78e4ca2bfe1117665ca3e0745c433c3a9c 100644 (file)
@@ -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;