Browse Source

Fix coding standards error.

mark_story 12 years ago
parent
commit
13b870d7e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Utility/Security.php

+ 1 - 1
lib/Cake/Utility/Security.php

@@ -319,7 +319,7 @@ class Security {
 
 		$ivSize = mcrypt_get_iv_size($algorithm, $mode);
 		$iv = mcrypt_create_iv($ivSize, MCRYPT_DEV_URANDOM);
-		$ciphertext =  $iv . mcrypt_encrypt($algorithm, $key, $plain, $mode, $iv);
+		$ciphertext = $iv . mcrypt_encrypt($algorithm, $key, $plain, $mode, $iv);
 		$hmac = hash_hmac('sha256', $ciphertext, $key);
 		return $hmac . $ciphertext;
 	}