diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 15:21:31 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 15:21:31 +0700 |
commit | 7c465b786d77b85e2d12d6f90d8c10468ca3e5c2 (patch) | |
tree | 21fc3b10f009b58ce6ec0b52304f389408933c51 /crypto/src/asn1/util/Asn1Dump.cs | |
parent | Add null-safe GetHashCode (diff) | |
download | BouncyCastle.NET-ed25519-7c465b786d77b85e2d12d6f90d8c10468ca3e5c2.tar.xz |
ASN.1 tagged objects
- guard against null base objects - Obsolete IsEmpty
Diffstat (limited to '')
-rw-r--r-- | crypto/src/asn1/util/Asn1Dump.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/crypto/src/asn1/util/Asn1Dump.cs b/crypto/src/asn1/util/Asn1Dump.cs index 511bc30af..c82abd5c6 100644 --- a/crypto/src/asn1/util/Asn1Dump.cs +++ b/crypto/src/asn1/util/Asn1Dump.cs @@ -110,16 +110,7 @@ namespace Org.BouncyCastle.Asn1.Utilities buf.Append(NewLine); - if (o.IsEmpty()) - { - buf.Append(tab); - buf.Append("EMPTY"); - buf.Append(NewLine); - } - else - { - AsString(tab, verbose, o.GetObject(), buf); - } + AsString(tab, verbose, o.GetObject(), buf); } else if (obj is DerObjectIdentifier) { |