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