diff options
Diffstat (limited to 'Net')
-rw-r--r-- | Net/OpenID/CryptUtil.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Net/OpenID/CryptUtil.php b/Net/OpenID/CryptUtil.php index a94ce24..0ce8f60 100644 --- a/Net/OpenID/CryptUtil.php +++ b/Net/OpenID/CryptUtil.php @@ -50,7 +50,7 @@ class Net_OpenID_CryptUtil { function getBytes($num_bytes) { $bytes = ''; - $f = @fopen("/dev/urandom", "r"); + $f = @fopen(Net_OpenID_RAND_SOURCE, "r"); if ($f === false) { if (!defined('Net_OpenID_USE_INSECURE_RAND')) { trigger_error('Set Net_OpenID_USE_INSECURE_RAND to ' . |