Skip to content

Commit b10585f

Browse files
committed
Fix CertificateBody.getCertificateExpirationDate
- see #1503
1 parent 3b99d9e commit b10585f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/main/java/org/bouncycastle/asn1/eac/CertificateBody.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public PackedDate getCertificateExpirationDate()
355355
CertificateBody.CExD)
356356
{
357357
return new PackedDate(
358-
ASN1OctetString.getInstance(certificateEffectiveDate.getBaseUniversal(false, BERTags.OCTET_STRING)).getOctets());
358+
ASN1OctetString.getInstance(certificateExpirationDate.getBaseUniversal(false, BERTags.OCTET_STRING)).getOctets());
359359
}
360360
throw new IOException("certificate Expiration Date not set");
361361
}

0 commit comments

Comments
 (0)