We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb9f98 commit 5cd7ae0Copy full SHA for 5cd7ae0
src/JWT.php
@@ -499,9 +499,7 @@ private static function readDER($der, $offset = 0)
499
if ($type == self::ASN1_BIT_STRING) {
500
$pos++; // Skip the first contents octet (padding indicator)
501
$data = substr($der, $pos, $len - 1);
502
- if (!$ignore_bit_strings) {
503
- $pos += $len - 1;
504
- }
+ $pos += $len - 1;
505
} elseif (!$constructed) {
506
$data = substr($der, $pos, $len);
507
$pos += $len;
0 commit comments