summaryrefslogtreecommitdiff
path: root/ext/standard/crypt.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-08-22 22:14:08 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-08-22 22:14:08 +0000
commit3e62bd0867aef59a818cd9dd2f41547d80b92a85 (patch)
tree6bc7ed7c0336753f4fd9c0163b1b62d6782c1585 /ext/standard/crypt.c
parent43c2bc364fb120a714bfc8caf80e9e8077aed63c (diff)
downloadphp-git-3e62bd0867aef59a818cd9dd2f41547d80b92a85.tar.gz
Reverted the patch to main branch - should have branched whole
ext/standard...
Diffstat (limited to 'ext/standard/crypt.c')
-rw-r--r--ext/standard/crypt.c3
1 files changed, 1 insertions, 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;