summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/openssl/tests/openssl_decrypt_error.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_decrypt_error.phpt b/ext/openssl/tests/openssl_decrypt_error.phpt
index 44c2cd473d..b34397a651 100644
--- a/ext/openssl/tests/openssl_decrypt_error.phpt
+++ b/ext/openssl/tests/openssl_decrypt_error.phpt
@@ -7,7 +7,7 @@ openssl_decrypt() error tests
$data = "openssl_decrypt() tests";
$method = "AES-128-CBC";
$password = "openssl";
-$wrong = "wrong";
+$wrong = base64_encode("wrong");
$iv = str_repeat("\0", openssl_cipher_iv_length($method));
$encrypted = openssl_encrypt($data, $method, $password);