com php-src: fix test: ext/openssl/tests/bug61124.phpt
| From: | Anatol Belski | Date: | Fri, 14 Oct 2016 00:01:53 +0000 |
| Subject: | com php-src: fix test: ext/openssl/tests/bug61124.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95041@lists.php.net to get a copy of this message | ||
Commit: 20b63996c07f4a53ace391db9d6d1b3b57af2030
Author: Anatol Belski <ab@php.net> Thu, 13 Oct 2016 10:08:23 +0200
Parents: 5ce223026649cf6de1fdd20bb973d034885b7295
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=20b63996c07f4a53ace391db9d6d1b3b57af2030
Log:
fix test
(cherry picked from commit 57354e0313cba1186fd05f74e1c418525269e7f2)
Changed paths:
M ext/openssl/tests/bug61124.phpt
Diff:
diff --git a/ext/openssl/tests/bug61124.phpt b/ext/openssl/tests/bug61124.phpt
index 2fc192d..9b21da5 100644
--- a/ext/openssl/tests/bug61124.phpt
+++ b/ext/openssl/tests/bug61124..phpt
@@ -8,5 +8,5 @@ if (!extension_loaded("openssl")) die("skip");
var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc',
'pass', false, 'pass'));
--EXPECTF--
-Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s
-bool(false)
\ No newline at end of file
+Warning: openssl_decrypt(): IV passed is only 4 bytes long, cipher expects an IV of precisely 16
bytes, padding with \0 in %s on line %d
+bool(false)