From: Scott MacVicar Date: Mon, 30 Mar 2009 22:17:02 +0000 (+0000) Subject: I wish people would test their changes before comitting, especially since the test... X-Git-Tag: php-5.4.0alpha1~191^2~4013 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02bf9e7c2fc14d29c175cec6f71d3f5bbb5d8316;p=php I wish people would test their changes before comitting, especially since the test is *IDENTICAL* as before just with different formatting. --- diff --git a/ext/openssl/tests/bug47828.phpt b/ext/openssl/tests/bug47828.phpt index a3161fadd8..1f8ca7b496 100644 --- a/ext/openssl/tests/bug47828.phpt +++ b/ext/openssl/tests/bug47828.phpt @@ -30,7 +30,7 @@ pz9H9wBlz/Nmw12YtfCmGqpIFAxpRGFQTGPNJWr4FdZkUM792lm7Sf3zzSvi8Ruz 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";