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