Tests: updates for phpseclib 2.0

This commit is contained in:
terrafrost 2024-02-24 13:26:33 -06:00
parent 63711d50e2
commit 0777e700b9

View File

@ -453,7 +453,7 @@ class Unit_File_ASN1Test extends PhpseclibTestCase
{
$cert = file_get_contents(dirname(__FILE__) . '/ASN1/mal-cert-02.der');
$asn1 = new File_ASN1();
$asn1 = new ASN1();
//$this->setExpectedException('PHPUnit_Framework_Error_Notice');
$decoded = $asn1->decodeBER($cert);
$this->assertFalse($decoded[0]);