1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00

- update link to svn.php.net

git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@188 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
Jim Wigginton 2011-11-24 18:46:12 +00:00
parent e8d6d8d165
commit 70ea9ceec8

View File

@ -95,7 +95,7 @@ function crypt_random($min = 0, $max = 0x7FFFFFFF)
The seeding routine is pretty much ripped from PHP's own internal GENERATE_SEED() macro: The seeding routine is pretty much ripped from PHP's own internal GENERATE_SEED() macro:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3_2/ext/standard/php_rand.h?view=markup */ http://svn.php.net/viewvc/php/php-src/tags/php_5_3_2/ext/standard/php_rand.h?view=markup */
if (version_compare(PHP_VERSION, '5.2.5', '<=')) { if (version_compare(PHP_VERSION, '5.2.5', '<=')) {
static $seeded; static $seeded;
if (!isset($seeded)) { if (!isset($seeded)) {