Permalink
Browse files

Fix coding standards error.

  • Loading branch information...
1 parent 95ad5f5 commit 13b870d7e183375822eea4ffd66aaacaeec760ff @markstory markstory committed Sep 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Security.php
@@ -319,7 +319,7 @@ public static function encrypt($plain, $key, $hmacSalt = null) {
$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;
}

0 comments on commit 13b870d

Please sign in to comment.