summary refs log tree commit diff
path: root/crypto/src/asn1/util/Asn1Dump.cs
diff options
context:
space:
mode:
authorroyb <roy.basmacier@primekey.com>2022-10-24 15:58:10 -0400
committerroyb <roy.basmacier@primekey.com>2022-10-24 15:58:10 -0400
commit7f5568591d17d3c256d42760fbf43c8544c6f2b8 (patch)
tree7d69619a03f10e108143b3454a9d6d3ca9272fcb /crypto/src/asn1/util/Asn1Dump.cs
parentAdded Aes and Uniform variant to Saber (diff)
parentAdd Asn1GeneralizedTime and use (diff)
downloadBouncyCastle.NET-ed25519-7f5568591d17d3c256d42760fbf43c8544c6f2b8.tar.xz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'crypto/src/asn1/util/Asn1Dump.cs')
-rw-r--r--crypto/src/asn1/util/Asn1Dump.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/util/Asn1Dump.cs b/crypto/src/asn1/util/Asn1Dump.cs
index 7bae766c3..73586cf9b 100644
--- a/crypto/src/asn1/util/Asn1Dump.cs
+++ b/crypto/src/asn1/util/Asn1Dump.cs
@@ -211,7 +211,7 @@ namespace Org.BouncyCastle.Asn1.Utilities
                 buf.Append(indent);
                 buf.AppendLine("UTCTime(" + utcTime.TimeString + ")");
             }
-            else if (obj is DerGeneralizedTime generalizedTime)
+            else if (obj is Asn1GeneralizedTime generalizedTime)
             {
                 buf.Append(indent);
                 buf.AppendLine("GeneralizedTime(" + generalizedTime.GetTime() + ")");