com php-src: Fix indent in opnenssl_decrypt tests: ext/ openssl/tests/openssl_decrypt_ccm.phpt ext/openssl/test s/openssl_decrypt_gcm.phpt
| From: | Jakub Zelenka | Date: | Sun, 24 Jul 2016 12:40:54 +0000 |
| Subject: | com php-src: Fix indent in opnenssl_decrypt tests: ext/ openssl/tests/openssl_decrypt_ccm.phpt ext/openssl/test s/openssl_decrypt_gcm.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93363@lists.php.net to get a copy of this message | ||
Commit: dc6ea028b5dce01c314afbb2bb628cf44e070b0c
Author: Jakub Zelenka <bukka@php.net> Sun, 24 Jul 2016 13:40:54 +0100
Parents: e06331931d196dca95f28706612e428cc4d15154
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc6ea028b5dce01c314afbb2bb628cf44e070b0c
Log:
Fix indent in opnenssl_decrypt tests
Changed paths:
M ext/openssl/tests/openssl_decrypt_ccm.phpt
M ext/openssl/tests/openssl_decrypt_gcm.phpt
Diff:
diff --git a/ext/openssl/tests/openssl_decrypt_ccm.phpt b/ext/openssl/tests/openssl_decrypt_ccm.phpt
index 2107fea..2bf9362 100644
--- a/ext/openssl/tests/openssl_decrypt_ccm.phpt
+++ b/ext/openssl/tests/openssl_decrypt_ccm.phpt
@@ -22,13 +22,13 @@ foreach ($tests as $idx => $test) {
// no IV
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- NULL, $test['tag'], $test['aad']));
+ NULL, $test['tag'], $test['aad']));
// failed because no AAD
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- $test['iv'], $test['tag']));
+ $test['iv'], $test['tag']));
// failed because wrong tag
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- $test['iv'], str_repeat('x', 10), $test['aad']));
+ $test['iv'], str_repeat('x', 10), $test['aad']));
?>
--EXPECTF--
diff --git a/ext/openssl/tests/openssl_decrypt_gcm.phpt b/ext/openssl/tests/openssl_decrypt_gcm.phpt
index d8c4643..4637f6b 100644
--- a/ext/openssl/tests/openssl_decrypt_gcm.phpt
+++ b/ext/openssl/tests/openssl_decrypt_gcm.phpt
@@ -22,13 +22,13 @@ foreach ($tests as $idx => $test) {
// no IV
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- NULL, $test['tag'], $test['aad']));
+ NULL, $test['tag'], $test['aad']));
// failed because no AAD
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- $test['iv'], $test['tag']));
+ $test['iv'], $test['tag']));
// failed because wrong tag
var_dump(openssl_decrypt($test['ct'], $method, $test['key'], OPENSSL_RAW_DATA,
- $test['iv'], str_repeat('x', 16), $test['aad']));
+ $test['iv'], str_repeat('x', 16), $test['aad']));
?>
--EXPECTF--