summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/CryptUtil.php
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-09-26 23:59:56 +0000
committerJosh Hoyt <josh@janrain.com>2006-09-26 23:59:56 +0000
commitb248f2cc8da87c2afce2aa726e029988fac490bf (patch)
tree6e5f9dc2e26313e67eac1fc0c3fa2a80d4b6ada9 /Auth/OpenID/CryptUtil.php
parent1c8553b68fb9c2cc5d586f7d8104c0dd0eaacc02 (diff)
downloadphp-openid-b248f2cc8da87c2afce2aa726e029988fac490bf.zip
php-openid-b248f2cc8da87c2afce2aa726e029988fac490bf.tar.gz
php-openid-b248f2cc8da87c2afce2aa726e029988fac490bf.tar.bz2
[project @ Don't print a warning if the user sets the variable for using insecure randomness]
Diffstat (limited to 'Auth/OpenID/CryptUtil.php')
-rw-r--r--Auth/OpenID/CryptUtil.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/Auth/OpenID/CryptUtil.php b/Auth/OpenID/CryptUtil.php
index 3048f09..8d7e069 100644
--- a/Auth/OpenID/CryptUtil.php
+++ b/Auth/OpenID/CryptUtil.php
@@ -43,8 +43,6 @@ class Auth_OpenID_CryptUtil {
$bytes = '';
if ($f === null) {
if (Auth_OpenID_RAND_SOURCE === null) {
- trigger_error("Using insecure randomness source",
- E_USER_NOTICE);
$f = false;
} else {
$f = @fopen(Auth_OpenID_RAND_SOURCE, "r");