[Svn] r2965 - trunk/roundcubemail/program/lib/Auth/SASL

trac at roundcube.net trac at roundcube.net
Fri Sep 18 10:03:21 CEST 2009


Author: alec
Date: 2009-09-18 03:03:20 -0500 (Fri, 18 Sep 2009)
New Revision: 2965

Modified:
   trunk/roundcubemail/program/lib/Auth/SASL/DigestMD5.php
Log:
- http://pear.php.net/bugs/bug.php?id=16624


Modified: trunk/roundcubemail/program/lib/Auth/SASL/DigestMD5.php
===================================================================
--- trunk/roundcubemail/program/lib/Auth/SASL/DigestMD5.php	2009-09-17 13:43:10 UTC (rev 2964)
+++ trunk/roundcubemail/program/lib/Auth/SASL/DigestMD5.php	2009-09-18 08:03:20 UTC (rev 2965)
@@ -178,10 +178,10 @@
     */
     function _getCnonce()
     {
-        if (file_exists('/dev/urandom') && $fd = @fopen('/dev/urandom', 'r')) {
+        if (@file_exists('/dev/urandom') && $fd = @fopen('/dev/urandom', 'r')) {
             return base64_encode(fread($fd, 32));
 
-        } elseif (file_exists('/dev/random') && $fd = @fopen('/dev/random', 'r')) {
+        } elseif (@file_exists('/dev/random') && $fd = @fopen('/dev/random', 'r')) {
             return base64_encode(fread($fd, 32));
 
         } else {

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list