1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerUTCTime.cs b/crypto/src/asn1/DerUTCTime.cs
index 90b2999c5..5124af12f 100644
--- a/crypto/src/asn1/DerUTCTime.cs
+++ b/crypto/src/asn1/DerUTCTime.cs
@@ -237,6 +237,11 @@ namespace Org.BouncyCastle.Asn1
return Strings.ToAsciiByteArray(time);
}
+ internal override bool EncodeConstructed()
+ {
+ return false;
+ }
+
internal override int EncodedLength(bool withID)
{
return Asn1OutputStream.GetLengthOfEncodingDL(withID, time.Length);
@@ -247,7 +252,7 @@ namespace Org.BouncyCastle.Asn1
asn1Out.WriteEncodingDL(withID, Asn1Tags.UtcTime, GetOctets());
}
- protected override bool Asn1Equals(
+ protected override bool Asn1Equals(
Asn1Object asn1Object)
{
DerUtcTime other = asn1Object as DerUtcTime;
|