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