Skip to content

Commit 9d43e50

Browse files
committed
fixed one off error in trimTo.
1 parent 8ee24c0 commit 9d43e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/bouncycastle/asn1/x509/DeltaCertificateDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private DeltaCertificateDescriptor(ASN1Sequence seq)
7676
this.serialNumber = ASN1Integer.getInstance(seq.getObjectAt(0));
7777

7878
int idx = 1;
79-
ASN1Encodable next = seq.getObjectAt(idx);
79+
ASN1Encodable next = seq.getObjectAt(idx++);
8080
while (next instanceof ASN1TaggedObject)
8181
{
8282
ASN1TaggedObject tagged = ASN1TaggedObject.getInstance(next);

0 commit comments

Comments
 (0)