Index: openid_provider.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openid_provider/openid_provider.inc,v
retrieving revision 1.3
diff -u -r1.3 openid_provider.inc
--- openid_provider.inc	7 Sep 2008 03:41:22 -0000	1.3
+++ openid_provider.inc	20 Sep 2008 12:01:30 -0000
@@ -43,7 +43,7 @@
   }
   $secret = _openid_get_bytes($num_bytes);
   if ($session_type == '' || $session_type == 'no-encryption') {
-    $mac_key = hash_hmac($algo, $response['assoc_handle'], $secret, true);
+    $mac_key = hash_hmac($algo, $response['assoc_handle'], $secret, TRUE);
     $response['mac_key'] = $mac_key;
   }
   else {
@@ -95,7 +95,7 @@
 
   // Check for a directed identity request.
   if ($request['openid.identity'] == 'http://specs.openid.net/auth/2.0/identifier_select') {
-    $identity = url('user/' . $user->uid, array('absolute' => TRUE));
+    $identity = url('user/'. $user->uid, array('absolute' => TRUE));
   }
   else {
     $identity = $request['openid.identity'];
@@ -205,7 +205,7 @@
  */
 function _openid_provider_dh_xorsecret($shared, $secret, $algo = 'sha1') {
   $dh_shared_str = _openid_dh_long_to_binary($shared);
-  $sha1_dh_shared = hash($algo, $dh_shared_str, true);
+  $sha1_dh_shared = hash($algo, $dh_shared_str, TRUE);
   $xsecret = "";
   for ($i = 0; $i < strlen($secret); $i++) {
     $xsecret .= chr(ord($secret[$i]) ^ ord($sha1_dh_shared[$i]));
@@ -269,7 +269,7 @@
   else {
     $rps = array();
     $result = db_query("SELECT * FROM {openid_provider_relying_party} WHERE uid=%d ORDER BY last_time DESC", $uid);
-    while ($rp = db_fetch_object($result)){
+    while ($rp = db_fetch_object($result)) {
       $rps[] = $rp;
     }
     return $rps;
@@ -341,7 +341,7 @@
   }
   $message = _openid_create_message($sign_data);
   $secret = base64_decode($association->mac_key);
-  $signature = hash_hmac($association->assoc_type == 'HMAC-SHA256' ? 'sha256' : 'sha1', $message, $secret, true);
+  $signature = hash_hmac($association->assoc_type == 'HMAC-SHA256' ? 'sha256' : 'sha1', $message, $secret, TRUE);
   return base64_encode($signature);
 }
 
Index: openid_provider.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openid_provider/openid_provider.module,v
retrieving revision 1.3
diff -u -r1.3 openid_provider.module
--- openid_provider.module	7 Sep 2008 03:51:58 -0000	1.3
+++ openid_provider.module	20 Sep 2008 12:01:31 -0000
@@ -90,7 +90,7 @@
       if ($user->uid == $account->uid) {
         $account->content['openid'] = array(
           '#title' => t('OpenID'),
-          '#value' => t('You may login to other OpenID enabled sites using %url', array('%url' => url('user/' . $account->uid, array('absolute' => TRUE)))),
+          '#value' => t('You may login to other OpenID enabled sites using %url', array('%url' => url('user/'. $account->uid, array('absolute' => TRUE)))),
           '#class' => 'openid',
           '#weight' => 10
         );
@@ -128,7 +128,7 @@
 
   $data = array(
     'Type' => $types,
-    'URI' => array(url('openid/provider', array('absolute'=> TRUE))),
+    'URI' => array(url('openid/provider', array('absolute' => TRUE))),
   );
   if ($account->uid) {
     $data['LocalID'] = array(url('user/'. $account->uid, array('absolute' => TRUE)));
@@ -170,7 +170,7 @@
   
   $form['intro'] = array(
     '#type' => 'markup',
-    '#value' => '<p>'. t('You are being logged into %site, would you like to continue?', array('%site' => $realm)) . '</p>'
+    '#value' => '<p>'. t('You are being logged into %site, would you like to continue?', array('%site' => $realm)) .'</p>'
   );
   
   $form['#action'] = url('openid/provider/send');
