From 298d400579ebc6101881453cad277ef1ce982226 Mon Sep 17 00:00:00 2001 From: pallo Date: Wed, 27 Sep 2000 14:13:08 +0000 Subject: [PATCH] Fixed one of Gustav's many famous typos :) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@765 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/strings.php b/functions/strings.php index d5cb78f0..fd742935 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -256,12 +256,12 @@ } function OneTimePadCreate ($length=100) { - global $REMOTE_PORT, $REMOTE_IP, $UNIQUE_ID; + global $REMOTE_PORT, $REMOTE_ADDR, $UNIQUE_ID; // Entropy gathering if (function_exists("crc32")) { $seed1 = (double) microtime() * 1000000; - $seed2 = md5($REMOTE_PORT . $REMOTE_IP . $UNIQUE_ID); + $seed2 = md5($REMOTE_PORT . $REMOTE_ADDR . $UNIQUE_ID); if (function_exists("getrusage")) { $dat = getrusage(); $seed3 = md5($dat["ru_nswap"].$dat["ru_majflt"].$dat["ru_utime.tv_sec"].$dat["ru_utime.tv_usec"].getmypid()); -- 2.25.1