mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-10 07:38:48 +00:00
ASN1: update unit test for 2.0 branch
This commit is contained in:
parent
281cfcdcea
commit
6dc50cc5c9
@ -295,7 +295,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
|
|||||||
*/
|
*/
|
||||||
public function testInfiniteLoop()
|
public function testInfiniteLoop()
|
||||||
{
|
{
|
||||||
$asn1 = new File_ASN1();
|
$asn1 = new ASN1();
|
||||||
$data = base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw==');
|
$data = base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw==');
|
||||||
$asn1->decodeBER($data);
|
$asn1->decodeBER($data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user