From 3e62bd0867aef59a818cd9dd2f41547d80b92a85 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 22 Aug 2001 22:14:08 +0000 Subject: [PATCH] Reverted the patch to main branch - should have branched whole ext/standard... --- ext/standard/crypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/standard/crypt.c b/ext/standard/crypt.c index 5489f01a75..00490f78e4 100644 --- a/ext/standard/crypt.c +++ b/ext/standard/crypt.c @@ -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; -- 2.50.1