1--TEST--
2CVE-2013-6420
3--EXTENSIONS--
4openssl
5--FILE--
6<?php
7$crt = substr(__FILE__, 0, -4).'.crt';
8$info = openssl_x509_parse("file://$crt");
9var_dump($info['issuer']['emailAddress'], $info["validFrom_time_t"]);
10?>
11Done
12--EXPECTF--
13Warning: openssl_x509_parse(): Illegal length in timestamp in %s on line 3
14string(27) "stefan.esser@sektioneins.de"
15int(-1)
16Done
17