]> granicus.if.org Git - php/commitdiff
I wish people would test their changes before comitting, especially since the test...
authorScott MacVicar <scottmac@php.net>
Mon, 30 Mar 2009 22:17:02 +0000 (22:17 +0000)
committerScott MacVicar <scottmac@php.net>
Mon, 30 Mar 2009 22:17:02 +0000 (22:17 +0000)
ext/openssl/tests/bug47828.phpt

index a3161fadd82d0791ea5d2c824fa7bd2fe568fca4..1f8ca7b496aaf3ed4df586762490fe8a6d25c4e2 100644 (file)
@@ -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";