com php-src: Don't check for precise length in ecc.phpt: ext/openssl/tests/ecc.phpt
| From: | Nikita Popov | Date: | Thu, 29 Dec 2016 21:05:38 +0000 |
| Subject: | com php-src: Don't check for precise length in ecc.phpt: ext/openssl/tests/ecc.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96444@lists.php.net to get a copy of this message | ||
Commit: 2497ae031b11e10ef6d287f6421f842ce1b810f9
Author: Nikita Popov <nikic@php.net> Thu, 29 Dec 2016 22:05:38 +0100
Parents: 12922f2a58e9f70185fb794d4a86458b34a749cb
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2497ae031b11e10ef6d287f6421f842ce1b810f9
Log:
Don't check for precise length in ecc.phpt
Again, this can be off by one.
Changed paths:
M ext/openssl/tests/ecc.phpt
Diff:
diff --git a/ext/openssl/tests/ecc.phpt b/ext/openssl/tests/ecc.phpt
index 5df0130..e4c1d20 100644
--- a/ext/openssl/tests/ecc.phpt
+++ b/ext/openssl/tests/ecc.phpt
@@ -99,7 +99,7 @@ resource(%d) of type (OpenSSL X.509 CSR)
bool(false)
array(1) {
["d"]=>
- string(48) "%a"
+ string(%d) "%a"
}
resource(%d) of type (OpenSSL X.509)
Testing openssl_x509_check_private_key