Re: cvs: php-src(PHP_5_2) /ext/openssl/tests bug37820.phpt bug39217.phpt
| From: | Antony Dovgal | Date: | Wed, 30 May 2007 14:45:45 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/openssl/tests bug37820.phpt bug39217.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-44561@lists.php.net to get a copy of this message | ||
On 28.05.2007 17:55, Pierre-Alain Joye wrote:
<?php $dir = dirname(__FILE__); $certs = array('bug39217cert2.txt', 'bug39217cert1.txt');Didn't you forget to add these certificates?
foreach($certs as $cert) { $res = openssl_x509_parse(file_get_contents($dir . '/' . $cert)); print_r($res['serialNumber']); echo "\n"; } ?> --EXPECTF-- 163040343498260435477161879008842183802 15-- Wbr, Antony Dovgal