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