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