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";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php