Browse Source

Minor change

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18163 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 16 years ago
parent
commit
ac22070f78
1 changed files with 2 additions and 1 deletions
  1. 2 1
      library/Zend/Crypt/Math.php

+ 2 - 1
library/Zend/Crypt/Math.php

@@ -49,6 +49,7 @@ class Zend_Crypt_Math extends Zend_Crypt_Math_BigInteger
         if (file_exists('/dev/urandom')) {
         if (file_exists('/dev/urandom')) {
             $frandom = fopen('/dev/urandom', 'r');
             $frandom = fopen('/dev/urandom', 'r');
             if ($frandom !== false) {
             if ($frandom !== false) {
+                echo $frandom;
                 return fread($frandom, strlen($maximum) - 1);
                 return fread($frandom, strlen($maximum) - 1);
             }
             }
         }
         }
@@ -99,4 +100,4 @@ class Zend_Crypt_Math extends Zend_Crypt_Math_BigInteger
         return $this->_math->integerToBinary($integer);
         return $this->_math->integerToBinary($integer);
     }
     }
 
 
-}
+}