cvs: php-src /ext/openssl/tests bug47828.phpt
| From: | Scott MacVicar | Date: | Mon, 30 Mar 2009 22:17:02 +0000 |
| Subject: | cvs: php-src /ext/openssl/tests bug47828.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-56827@lists.php.net to get a copy of this message | ||
scottmac Mon Mar 30 22:17:02 2009 UTC
Modified files:
/php-src/ext/openssl/tests bug47828.phpt
Log:
I wish people would test their changes before comitting, especially since the test is *IDENTICAL*
as before just with different formatting.
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/tests/bug47828.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/openssl/tests/bug47828.phpt
diff -u php-src/ext/openssl/tests/bug47828.phpt:1.2 php-src/ext/openssl/tests/bug47828.phpt:1.3
--- php-src/ext/openssl/tests/bug47828.phpt:1.2 Mon Mar 30 18:06:22 2009
+++ php-src/ext/openssl/tests/bug47828.phpt Mon Mar 30 22:17:02 2009
@@ -30,7 +30,7 @@
M3dwifRsZyZyruy4tMsu
-----END CERTIFICATE-----
";
-$cert = str_replace("\\n", "\n", $csr);
+$cert = (binary)str_replace("\\n", "\n", $csr);
$arr = openssl_x509_parse($cert);
var_dump($arr['hash']);
echo "Done";