summary refs log tree commit diff
path: root/crypto/src/asn1/DerGeneralString.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crypto/src/asn1/DerGeneralString.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/src/asn1/DerGeneralString.cs b/crypto/src/asn1/DerGeneralString.cs
index a65eb669b..f2740eb54 100644
--- a/crypto/src/asn1/DerGeneralString.cs
+++ b/crypto/src/asn1/DerGeneralString.cs
@@ -61,12 +61,6 @@ namespace Org.BouncyCastle.Asn1
             if (element is DerGeneralString existing)
                 return existing;
 
-            if (element is IAsn1Convertible asn1Convertible && !(element is Asn1Object) &&
-                asn1Convertible.ToAsn1Object() is DerGeneralString converted)
-            {
-                return converted;
-            }
-
             return null;
         }