mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00: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()
|
||||
{
|
||||
$data = 'a' . base64_decode('MD6gJQYKKwYBBAGCNxQCA6AXDBVvZmZpY2VAY2VydGRpZ2l0YWwucm+BFW9mZmljZUBjZXJ0ZGlnaXRhbC5ybw==');
|
||||
$asn1 = new File_ASN1();
|
||||
$asn1 = new ASN1();
|
||||
$asn1->decodeBER($data);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user