Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2023-08-24 20:22:16 -05:00
commit f7e80e44c9
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,7 @@ abstract class ASN1
return false;
}
break;
case ($c & 0x80000000) != 0:
case ($c & (PHP_INT_SIZE == 8 ? 0x80000000 : (1 << 31))) != 0:
return false;
case $c >= 0x04000000:
$v .= chr(0x80 | ($c & 0x3F));