12345678910111213141516 |
- --TEST--
- CVE-2013-6420
- --EXTENSIONS--
- openssl
- --FILE--
- <?php
- $crt = substr(__FILE__, 0, -4).'.crt';
- $info = openssl_x509_parse("file://$crt");
- var_dump($info['issuer']['emailAddress'], $info["validFrom_time_t"]);
- ?>
- Done
- --EXPECTF--
- Warning: openssl_x509_parse(): Illegal length in timestamp in %s on line 3
- string(27) "stefan.esser@sektioneins.de"
- int(-1)
- Done
|