summary refs log tree commit diff
path: root/crypto/src/asn1/crmf/EncKeyWithID.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/crmf/EncKeyWithID.cs')
-rw-r--r--crypto/src/asn1/crmf/EncKeyWithID.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/crmf/EncKeyWithID.cs b/crypto/src/asn1/crmf/EncKeyWithID.cs
index 6de56fa0b..67c16605a 100644
--- a/crypto/src/asn1/crmf/EncKeyWithID.cs
+++ b/crypto/src/asn1/crmf/EncKeyWithID.cs
@@ -34,7 +34,7 @@ namespace Org.BouncyCastle.Asn1.Crmf
                 }
                 else
                 {
-                    this.identifier = (Asn1Encodable)seq[1];
+                    this.identifier = seq[1];
                 }
             }
             else