--- embedaddon/php/ext/openssl/tests/openssl_decrypt_error.phpt 2012/02/21 23:47:59 1.1.1.1 +++ embedaddon/php/ext/openssl/tests/openssl_decrypt_error.phpt 2012/05/29 12:34:36 1.1.1.2 @@ -12,7 +12,7 @@ $iv = str_repeat("\0", openssl_cipher_iv_length($metho $encrypted = openssl_encrypt($data, $method, $password); var_dump($encrypted); /* Not passing $iv should be the same as all-NULL iv, but with a warning */ -var_dump(openssl_encrypt($data, $method, $password, false, $iv)); +var_dump(openssl_encrypt($data, $method, $password, 0, $iv)); var_dump(openssl_decrypt($encrypted, $method, $wrong)); var_dump(openssl_decrypt($encrypted, $wrong, $password)); var_dump(openssl_decrypt($wrong, $method, $password));