]> granicus.if.org Git - php/commitdiff
Don't check for precise length in ecc.phpt
authorNikita Popov <nikic@php.net>
Thu, 29 Dec 2016 21:05:38 +0000 (22:05 +0100)
committerNikita Popov <nikic@php.net>
Thu, 29 Dec 2016 21:05:38 +0000 (22:05 +0100)
Again, this can be off by one.

ext/openssl/tests/ecc.phpt

index 5df01304f00c3117a3c6dc9bf03e22fcf58e6e70..e4c1d20805f5fa30df9c04ee48a934bb3315ce0b 100644 (file)
@@ -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