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 e5fb3c7..1c3eeeb 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