mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01:00
Tests/ASN1: update unit test to work on 2.0
This commit is contained in:
parent
48aa55b7f6
commit
32ce6a0d3e
@ -338,7 +338,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
|
|||||||
public function testInvalidCertificate()
|
public function testInvalidCertificate()
|
||||||
{
|
{
|
||||||
$data = 'a' . base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw==');
|
$data = 'a' . base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw==');
|
||||||
$asn1 = new File_ASN1();
|
$asn1 = new ASN1();
|
||||||
$asn1->decodeBER($data);
|
$asn1->decodeBER($data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user