summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-18 08:03:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-18 08:03:20 +0000
commitf73be894afa7ef35dd9219af847e55196b783a33 (patch)
tree76d1a9abdc04134155a5adc0686a3f7d442b49bf /roundcubemail/program/lib
parentd1503eceb97c38c175033a98601b7b91fede2dea (diff)
- http://pear.php.net/bugs/bug.php?id=16624
git-svn-id: https://svn.roundcube.net/trunk@2965 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
-rw-r--r--roundcubemail/program/lib/Auth/SASL/DigestMD5.php4
1 files changed, 2 insertions, 2 deletions
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 {