diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-18 08:03:20 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-09-18 08:03:20 +0000 |
| commit | f73be894afa7ef35dd9219af847e55196b783a33 (patch) | |
| tree | 76d1a9abdc04134155a5adc0686a3f7d442b49bf /roundcubemail/program/lib/Auth | |
| parent | d1503eceb97c38c175033a98601b7b91fede2dea (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/Auth')
| -rw-r--r-- | roundcubemail/program/lib/Auth/SASL/DigestMD5.php | 4 |
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 { |
