summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/openssl_decrypt_ocb.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/tests/openssl_decrypt_ocb.phpt')
-rw-r--r--ext/openssl/tests/openssl_decrypt_ocb.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_decrypt_ocb.phpt b/ext/openssl/tests/openssl_decrypt_ocb.phpt
index cea35501dd..52b5d03c7d 100644
--- a/ext/openssl/tests/openssl_decrypt_ocb.phpt
+++ b/ext/openssl/tests/openssl_decrypt_ocb.phpt
@@ -22,7 +22,7 @@ foreach ($tests as $idx => $test) {
// no IV
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- NULL, $test['tag'], $test['aad']));
+ '', $test['tag'], $test['aad']));
// IV too long
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,