summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-01-04 18:00:12 +0000
committertailor <cygnus@janrain.com>2006-01-04 18:00:12 +0000
commit33e6e5b02b2fbb3cdcbb0163584f65b642d6e691 (patch)
treeadee41499f4ac5dadebe17c60277788261352732
parent970b834a18ac321bb61265153d77c99716f706a1 (diff)
downloadphp-openid-33e6e5b02b2fbb3cdcbb0163584f65b642d6e691.zip
php-openid-33e6e5b02b2fbb3cdcbb0163584f65b642d6e691.tar.gz
php-openid-33e6e5b02b2fbb3cdcbb0163584f65b642d6e691.tar.bz2
[project @ Fixed defined() call]
-rw-r--r--Net/OpenID/CryptUtil.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Net/OpenID/CryptUtil.php b/Net/OpenID/CryptUtil.php
index 73cde62..aa94e9f 100644
--- a/Net/OpenID/CryptUtil.php
+++ b/Net/OpenID/CryptUtil.php
@@ -51,7 +51,7 @@ class Net_OpenID_CryptUtil {
$bytes = '';
$f = @fopen("/dev/urandom", "r");
if ($f === FALSE) {
- if (!defined(Net_OpenID_USE_INSECURE_RAND)) {
+ if (!defined('Net_OpenID_USE_INSECURE_RAND')) {
trigger_error('Set Net_OpenID_USE_INSECURE_RAND to ' .
'continue with insecure random.',
E_USER_ERROR);