]> git.mxchange.org Git - core.git/commitdiff
Added missing brace... :(
authorRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2011 20:48:52 +0000 (20:48 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2011 20:48:52 +0000 (20:48 +0000)
inc/classes/main/streams/crypto/class_McryptStream.php

index e5fb3c7f1b7c4d70e418009f6485da6afba336cd..1c3eeeb2eba4c6d502a4398a6b428b58f66a42b1 100644 (file)
@@ -131,7 +131,7 @@ class McryptStream extends BaseStream implements EncryptableStream {
                $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
 
                // Shall we use a default key or custom?
-               if (is_null($key) {
+               if (is_null($key)) {
                        // Generate (default) key
                        $key = $this->getRngInstance()->generateKey();
                } // END - if