1--TEST--
2CVE-2013-6420
3--SKIPIF--
4<?php if (!extension_loaded("openssl")) die("skip"); ?>
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--
13%s openssl_x509_parse(): illegal length in timestamp in %s%ecve-2013-6420.php on line 3
14string(27) "stefan.esser@sektioneins.de"
15int(-1)
16Done
17