diff options
Diffstat (limited to 'crypto/src/asn1/DerNumericString.cs')
-rw-r--r-- | crypto/src/asn1/DerNumericString.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/src/asn1/DerNumericString.cs b/crypto/src/asn1/DerNumericString.cs index 5c30217d2..557f951ec 100644 --- a/crypto/src/asn1/DerNumericString.cs +++ b/crypto/src/asn1/DerNumericString.cs @@ -76,12 +76,6 @@ namespace Org.BouncyCastle.Asn1 if (element is DerNumericString existing) return existing; - if (element is IAsn1Convertible asn1Convertible && !(element is Asn1Object) && - asn1Convertible.ToAsn1Object() is DerNumericString converted) - { - return converted; - } - return null; } |