Passed
Push — master ( b79026...1b9a7e )
by david
02:00
created
src/Graphcomment.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -260,8 +260,9 @@
 block discarded – undo
260 260
         $blocksize = 64;
261 261
         $hashfunc = 'sha1';
262 262
 
263
-        if (strlen($key) > $blocksize)
264
-            $key = pack('H*', $hashfunc($key));
263
+        if (strlen($key) > $blocksize) {
264
+                    $key = pack('H*', $hashfunc($key));
265
+        }
265 266
 
266 267
         $key = str_pad($key, $blocksize, chr(0x00));
267 268
         $ipad = str_repeat(chr(0x36), $blocksize);
Please login to merge, or discard this patch.