diff --git a/source/crypto_explore_certificate.ts b/source/crypto_explore_certificate.ts index 12c62fe..8b08e9b 100644 --- a/source/crypto_explore_certificate.ts +++ b/source/crypto_explore_certificate.ts @@ -242,7 +242,7 @@ function readBasicConstraint2_5_29_19(buffer: Buffer, block: BlockInfo): BasicCo let pathLengthConstraint = 0; let breakControl = 0; - for (const inner_block: BlockInfo in inner_blocks) { + for (const inner_block of inner_blocks) { switch(inner_block.tag) { case TagType.BOOLEAN: cA = _readBooleanValue(buffer, inner_block);