summary refs log tree commit diff
path: root/crypto/src/asn1/DerTaggedObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerTaggedObject.cs')
-rw-r--r--crypto/src/asn1/DerTaggedObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerTaggedObject.cs b/crypto/src/asn1/DerTaggedObject.cs
index 9d9997dc6..dbcc19760 100644
--- a/crypto/src/asn1/DerTaggedObject.cs
+++ b/crypto/src/asn1/DerTaggedObject.cs
@@ -76,7 +76,7 @@ namespace Org.BouncyCastle.Asn1
 
         internal override Asn1TaggedObject ReplaceTag(int tagClass, int tagNo)
         {
-            return new DerTaggedObject(explicitness, tagClass, tagNo, obj);
+            return new DerTaggedObject(m_explicitness, tagClass, tagNo, m_object);
         }
     }
 }