summary refs log tree commit diff
path: root/crypto/src/asn1/cmp/InfoTypeAndValue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cmp/InfoTypeAndValue.cs')
-rw-r--r--crypto/src/asn1/cmp/InfoTypeAndValue.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cmp/InfoTypeAndValue.cs b/crypto/src/asn1/cmp/InfoTypeAndValue.cs
index ca6dc1fe5..03e055f10 100644
--- a/crypto/src/asn1/cmp/InfoTypeAndValue.cs
+++ b/crypto/src/asn1/cmp/InfoTypeAndValue.cs
@@ -61,7 +61,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
 
         public static InfoTypeAndValue GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
         {
-            return GetInstance(Asn1Sequence.GetInstance(taggedObject, declaredExplicit));
+            return new InfoTypeAndValue(Asn1Sequence.GetInstance(taggedObject, declaredExplicit));
         }
 
         private readonly DerObjectIdentifier m_infoType;