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