From f73be894afa7ef35dd9219af847e55196b783a33 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 18 Sep 2009 08:03:20 +0000 Subject: - http://pear.php.net/bugs/bug.php?id=16624 git-svn-id: https://svn.roundcube.net/trunk@2965 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/Auth/SASL/DigestMD5.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/lib/Auth') diff --git a/roundcubemail/program/lib/Auth/SASL/DigestMD5.php b/roundcubemail/program/lib/Auth/SASL/DigestMD5.php index f201622a2..07007b7c9 100644 --- a/roundcubemail/program/lib/Auth/SASL/DigestMD5.php +++ b/roundcubemail/program/lib/Auth/SASL/DigestMD5.php @@ -178,10 +178,10 @@ class Auth_SASL_DigestMD5 extends Auth_SASL_Common */ 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 { -- cgit v1.2.3