summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_encrypt_gcm.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/openssl_encrypt_gcm.phpt')
-rw-r--r--ext/openssl/tests/openssl_encrypt_gcm.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_encrypt_gcm.phpt b/ext/openssl/tests/openssl_encrypt_gcm.phpt
index 2b4a31b0f4..d976f4a5f3 100644
--- a/ext/openssl/tests/openssl_encrypt_gcm.phpt
+++ b/ext/openssl/tests/openssl_encrypt_gcm.phpt
@@ -22,7 +22,7 @@ foreach ($tests as $idx => $test) {
}
// Empty IV error
-var_dump(openssl_encrypt('data', $method, 'password', 0, NULL, $tag, ''));
+var_dump(openssl_encrypt('data', $method, 'password', 0, '', $tag, ''));
// Failing to retrieve tag (max is 16 bytes)
var_dump(openssl_encrypt('data', $method, 'password', 0, str_repeat('x', 32), $tag, '', 20));